Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009353/0.0009353, allocations: 168.6 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9795/0.9795, allocations: 177.1 MB / 206.1 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1901/0.1901, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 377.2 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.625e-05, allocations: 2.312 kB / 377.2 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001743/0.001769, allocations: 1.591 MB / 378.8 MB, free: 23.99 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002059/0.001975, allocations: 67.73 kB / 378.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.067e-05/0.002046, allocations: 4 kB / 378.9 MB, free: 23.92 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.002152, allocations: 7.922 kB / 378.9 MB, free: 23.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.091e-05/0.002183, allocations: 7.875 kB / 378.9 MB, free: 23.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.002355, allocations: 19.97 kB / 378.9 MB, free: 23.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.23e-05/0.002447, allocations: 35.92 kB / 379 MB, free: 23.85 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.098e-05/0.002528, allocations: 11.92 kB / 379 MB, free: 23.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.00257, allocations: 19.92 kB / 379 MB, free: 23.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.155e-05/0.002611, allocations: 8 kB / 379 MB, free: 23.81 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.002626, allocations: 4 kB / 379 MB, free: 23.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-06/0.002633, allocations: 4 kB / 379 MB, free: 23.8 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.002649, allocations: 15.91 kB / 379 MB, free: 23.79 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.56e-05/0.002664, allocations: 4 kB / 379 MB, free: 23.79 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.022e-05/0.002744, allocations: 31.84 kB / 379.1 MB, free: 23.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.002746, allocations: 0 / 379.1 MB, free: 23.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.002747, allocations: 0 / 379.1 MB, free: 23.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.002751, allocations: 0 / 379.1 MB, free: 23.75 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002579/0.003009, allocations: 372.6 kB / 379.4 MB, free: 23.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.003039, allocations: 11.98 kB / 379.5 MB, free: 23.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.003064, allocations: 12.89 kB / 379.5 MB, free: 23.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.003183, allocations: 128.5 kB / 379.6 MB, free: 23.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.003192, allocations: 8.312 kB / 379.6 MB, free: 23.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.003209, allocations: 4.375 kB / 379.6 MB, free: 23.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.003316, allocations: 82 kB / 379.7 MB, free: 23.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.003324, allocations: 192 / 379.7 MB, free: 23.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.003331, allocations: 4.375 kB / 379.7 MB, free: 23.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.003338, allocations: 384 / 379.7 MB, free: 23.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.225e-05/0.00336, allocations: 15.86 kB / 379.7 MB, free: 23.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.003586, allocations: 0.5139 MB / 380.2 MB, free: 22.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.005e-05/0.003666, allocations: 38.98 kB / 380.3 MB, free: 22.44 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.373e-05/0.00368, allocations: 11.69 kB / 380.3 MB, free: 22.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.00369, allocations: 0 / 380.3 MB, free: 22.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.003705, allocations: 37.39 kB / 380.3 MB, free: 22.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 5.11e-07/0.003706, allocations: 3.938 kB / 380.3 MB, free: 22.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002616/0.003968, allocations: 77.92 kB / 380.4 MB, free: 22.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.003994, allocations: 55.41 kB / 380.4 MB, free: 22.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.276e-05/0.004047, allocations: 177.9 kB / 380.6 MB, free: 22.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.129e-06/0.004052, allocations: 25.7 kB / 380.6 MB, free: 22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.00409, allocations: 142.8 kB / 380.8 MB, free: 21.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.644e-06/0.004097, allocations: 15.89 kB / 380.8 MB, free: 21.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.004122, allocations: 27.36 kB / 380.8 MB, free: 21.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.826e-05/0.00417, allocations: 492.1 kB / 381.3 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.004182, allocations: 11.97 kB / 381.3 MB, free: 21.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.91e-05/0.004201, allocations: 38.75 kB / 381.3 MB, free: 21.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.501e-05/0.004236, allocations: 62.66 kB / 381.4 MB, free: 21.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.004237, allocations: 0 / 381.4 MB, free: 21.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.985e-05/0.004297, allocations: 69.52 kB / 381.5 MB, free: 21.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.004306, allocations: 7.938 kB / 381.5 MB, free: 21.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.00431, allocations: 0 / 381.5 MB, free: 21.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.096e-06/0.004318, allocations: 4 kB / 381.5 MB, free: 21.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.077e-05/0.004359, allocations: 11.98 kB / 381.5 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.004362, allocations: 0 / 381.5 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.795e-05/0.00438, allocations: 8 kB / 381.5 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.004385, allocations: 8.094 kB / 381.5 MB, free: 21.06 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.004422, allocations: 156.5 kB / 381.7 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.004437, allocations: 7.938 kB / 381.7 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.778e-05/0.004454, allocations: 8 kB / 381.7 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.004456, allocations: 0 / 381.7 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.004458, allocations: 4 kB / 381.7 MB, free: 20.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.004461, allocations: 3.984 kB / 381.7 MB, free: 20.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.183e-05/0.004533, allocations: 101.2 kB / 381.8 MB, free: 20.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.004534, allocations: 0 / 381.8 MB, free: 20.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.004569, allocations: 15.98 kB / 381.8 MB, free: 20.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.004569, allocations: 0 / 381.8 MB, free: 20.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.004574, allocations: 4 kB / 381.8 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.004575, allocations: 3.938 kB / 381.8 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.004576, allocations: 0 / 381.8 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.275e-05/0.004659, allocations: 207.8 kB / 382 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.004665, allocations: 15.92 kB / 382 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-06/0.004673, allocations: 7.938 kB / 382 MB, free: 20.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.177e-05/0.004705, allocations: 3.938 kB / 382 MB, free: 20.47 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-06/0.004714, allocations: 0 / 382 MB, free: 20.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.004716, allocations: 4 kB / 382 MB, free: 20.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.727e-05/0.004734, allocations: 135.2 kB / 382.2 MB, free: 20.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004734, allocations: 4.031 kB / 382.2 MB, free: 20.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001383/0.004872, allocations: 8 kB / 382.2 MB, free: 20.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.13e-05/0.004923, allocations: 87.25 kB / 382.3 MB, free: 20.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.764e-05/0.004991, allocations: 35.61 kB / 382.3 MB, free: 20.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.004992, allocations: 0 / 382.3 MB, free: 20.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.005004, allocations: 15.67 kB / 382.3 MB, free: 20.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.005176, allocations: 8 kB / 382.3 MB, free: 20.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001873/0.005364, allocations: 148.1 kB / 382.5 MB, free: 19.99 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.916e-05/0.005383, allocations: 75.14 kB / 382.6 MB, free: 19.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.237e-05/0.005405, allocations: 4 kB / 382.6 MB, free: 19.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.005438, allocations: 70.2 kB / 382.6 MB, free: 19.82 MB / 314.7 MB Notification: Performance of SimCode: time 4.01e-07/0.005438, allocations: 4 kB / 382.6 MB, free: 19.82 MB / 314.7 MB Notification: Performance of Templates: time 0.001748/0.007186, allocations: 0.5196 MB / 383.1 MB, free: 19.31 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2901159059256315]