Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001436/0.001436, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001593/0.001593, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.135/1.135, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.148/0.148, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 3.938 kB / 347.6 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.533e-05/3.742e-05, allocations: 8.281 kB / 347.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002651/0.002689, allocations: 1.585 MB / 349.2 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002801/0.002969, allocations: 59.8 kB / 349.3 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.558e-05/0.003044, allocations: 0 / 349.3 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.003172, allocations: 3.938 kB / 349.3 MB, free: 8.133 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.003214, allocations: 11.92 kB / 349.3 MB, free: 8.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.003357, allocations: 19.92 kB / 349.3 MB, free: 8.102 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.003483, allocations: 39.91 kB / 349.4 MB, free: 8.062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.003607, allocations: 7.984 kB / 349.4 MB, free: 8.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.907e-05/0.003667, allocations: 19.92 kB / 349.4 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.295e-05/0.003729, allocations: 8 kB / 349.4 MB, free: 8.027 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.003761, allocations: 0 / 349.4 MB, free: 8.027 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.003773, allocations: 4 kB / 349.4 MB, free: 8.023 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.003796, allocations: 11.92 kB / 349.4 MB, free: 8.012 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.003824, allocations: 7.984 kB / 349.4 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.003961, allocations: 35.8 kB / 349.5 MB, free: 7.969 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.003964, allocations: 0 / 349.5 MB, free: 7.969 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.003966, allocations: 0 / 349.5 MB, free: 7.969 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.003972, allocations: 0 / 349.5 MB, free: 7.969 MB / 282.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.0004175/0.004389, allocations: 376.5 kB / 349.8 MB, free: 7.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.004434, allocations: 12.03 kB / 349.8 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.004485, allocations: 8.938 kB / 349.9 MB, free: 7.543 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.00465, allocations: 124.5 kB / 350 MB, free: 7.395 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.004663, allocations: 4.375 kB / 350 MB, free: 7.391 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.004692, allocations: 8.375 kB / 350 MB, free: 7.383 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.004848, allocations: 89.94 kB / 350.1 MB, free: 7.273 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.004857, allocations: 192 / 350.1 MB, free: 7.273 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.004868, allocations: 384 / 350.1 MB, free: 7.273 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.004882, allocations: 8.312 kB / 350.1 MB, free: 7.266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.004927, allocations: 15.88 kB / 350.1 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.005339, allocations: 0.5172 MB / 350.6 MB, free: 6.688 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.00548, allocations: 43.05 kB / 350.7 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.005507, allocations: 15.62 kB / 350.7 MB, free: 6.613 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.005517, allocations: 8 kB / 350.7 MB, free: 6.605 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.00554, allocations: 37.33 kB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.005541, allocations: 0 / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004172/0.005958, allocations: 85.88 kB / 350.8 MB, free: 6.469 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.005994, allocations: 51.41 kB / 350.9 MB, free: 6.406 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.359e-05/0.006077, allocations: 177.9 kB / 351 MB, free: 6.215 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.006084, allocations: 25.7 kB / 351.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.006132, allocations: 142.8 kB / 351.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.006145, allocations: 11.91 kB / 351.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.006181, allocations: 27.36 kB / 351.2 MB, free: 5.992 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.006231, allocations: 0.4884 MB / 351.7 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.006251, allocations: 7.984 kB / 351.7 MB, free: 5.484 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.159e-05/0.006283, allocations: 46.73 kB / 351.8 MB, free: 5.422 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.862e-05/0.006342, allocations: 50.69 kB / 351.8 MB, free: 5.355 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.006343, allocations: 0 / 351.8 MB, free: 5.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001061/0.006449, allocations: 81.44 kB / 351.9 MB, free: 5.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.006469, allocations: 8.094 kB / 351.9 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.006475, allocations: 4 kB / 351.9 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.006494, allocations: 4 kB / 351.9 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/0.006561, allocations: 8 kB / 351.9 MB, free: 5.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.006568, allocations: 0 / 351.9 MB, free: 5.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.006598, allocations: 4 kB / 351.9 MB, free: 5.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.006604, allocations: 0 / 351.9 MB, free: 5.242 MB / 282.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 5.829e-05/0.006662, allocations: 164.6 kB / 352.1 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.006685, allocations: 7.938 kB / 352.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.006712, allocations: 8 kB / 352.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.006714, allocations: 0 / 352.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.006719, allocations: 4 kB / 352.1 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006722, allocations: 4 kB / 352.1 MB, free: 5.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.006835, allocations: 116.6 kB / 352.2 MB, free: 4.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.006837, allocations: 11.94 kB / 352.2 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.006895, allocations: 15.92 kB / 352.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.006899, allocations: 3.938 kB / 352.3 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.006909, allocations: 0 / 352.3 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.00691, allocations: 0 / 352.3 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.006912, allocations: 0 / 352.3 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.007069, allocations: 203.9 kB / 352.5 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.007082, allocations: 11.98 kB / 352.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.007098, allocations: 3.938 kB / 352.5 MB, free: 4.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.822e-05/0.007146, allocations: 3.984 kB / 352.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.007184, allocations: 4 kB / 352.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.007187, allocations: 4 kB / 352.5 MB, free: 4.621 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.379e-05/0.007221, allocations: 135.1 kB / 352.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007221, allocations: 0 / 352.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002222/0.007443, allocations: 8 kB / 352.6 MB, free: 4.48 MB / 282.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 9.68e-05/0.00754, allocations: 91.25 kB / 352.7 MB, free: 4.383 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.007654, allocations: 39.61 kB / 352.8 MB, free: 4.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.007656, allocations: 0 / 352.8 MB, free: 4.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/0.007679, allocations: 11.92 kB / 352.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.007974, allocations: 11.98 kB / 352.8 MB, free: 4.312 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.008405, allocations: 162 kB / 352.9 MB, free: 4.125 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.732e-05/0.008442, allocations: 59.34 kB / 353 MB, free: 4.047 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.855e-05/0.008471, allocations: 7.984 kB / 353 MB, free: 4.039 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.008501, allocations: 8.688 kB / 353 MB, free: 4.027 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.008502, allocations: 4 kB / 353 MB, free: 4.023 MB / 282.7 MB Notification: Performance of Templates: time 0.002945/0.01145, allocations: 0.5533 MB / 353.6 MB, free: 3.48 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.575995492050424]