Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009205/0.0009205, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.002024, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007274/0.0007274, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009664/0.001694, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9688/0.9688, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0976/1.066, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2884/0.2884, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02714/0.3155, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.113e-05, allocations: 3.188 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001858/0.001879, allocations: 1.643 MB / 294.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001335/0.002013, allocations: 71.67 kB / 294.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.002071, allocations: 7.938 kB / 294.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.112e-05/0.002132, allocations: 11.92 kB / 294.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.655e-05/0.002159, allocations: 3.984 kB / 294.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.868e-05/0.002237, allocations: 19.92 kB / 294.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.002338, allocations: 39.86 kB / 294.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.002427, allocations: 12.44 kB / 294.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.479e-05/0.002492, allocations: 27.91 kB / 294.5 MB, free: 4.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.093e-05/0.002543, allocations: 7.984 kB / 294.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.002562, allocations: 0 / 294.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.185e-06/0.00257, allocations: 4 kB / 294.5 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.002585, allocations: 7.938 kB / 294.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.002605, allocations: 4 kB / 294.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.443e-05/0.002699, allocations: 27.91 kB / 294.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.536e-05/0.002715, allocations: 4 kB / 294.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.002716, allocations: 0 / 294.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.002731, allocations: 0 / 294.5 MB, free: 4.414 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.0003929/0.003124, allocations: 257.7 kB / 294.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.003158, allocations: 8.031 kB / 294.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.003187, allocations: 8.875 kB / 294.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.003339, allocations: 125.7 kB / 294.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.003348, allocations: 384 / 294.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.003371, allocations: 4.375 kB / 294.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.003495, allocations: 81.52 kB / 295 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.003503, allocations: 192 / 295 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.00351, allocations: 384 / 295 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.003516, allocations: 384 / 295 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.954e-05/0.003546, allocations: 19.81 kB / 295 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.003842, allocations: 336.5 kB / 295.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.898e-05/0.003931, allocations: 34.58 kB / 295.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.003945, allocations: 8.859 kB / 295.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.003956, allocations: 0 / 295.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.003976, allocations: 34.56 kB / 295.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.003977, allocations: 0 / 295.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002482/0.004225, allocations: 81.84 kB / 295.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.004255, allocations: 51.41 kB / 295.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.496e-05/0.00432, allocations: 118.6 kB / 295.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.004329, allocations: 25.7 kB / 295.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.004375, allocations: 96.08 kB / 295.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.004388, allocations: 11.89 kB / 295.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.004414, allocations: 21.72 kB / 295.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.749e-05/0.004491, allocations: 322.8 kB / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-06/0.0045, allocations: 8 kB / 296.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.292e-05/0.004523, allocations: 35.36 kB / 296.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.127e-05/0.004565, allocations: 43.39 kB / 296.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.004566, allocations: 0 / 296.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.9e-05/0.004625, allocations: 61.61 kB / 296.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.004636, allocations: 7.938 kB / 296.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.004642, allocations: 4 kB / 296.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.004651, allocations: 4.094 kB / 296.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.31e-05/0.004694, allocations: 19.98 kB / 296.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.0047, allocations: 4.094 kB / 296.3 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/0.004717, allocations: 4 kB / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.004722, allocations: 0 / 296.3 MB, free: 2.414 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.163e-05/0.004774, allocations: 117.8 kB / 296.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.004785, allocations: 0 / 296.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.004808, allocations: 15.92 kB / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.00481, allocations: 0 / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.004811, allocations: 0 / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.004814, allocations: 4 kB / 296.4 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.002e-05/0.004894, allocations: 73.89 kB / 296.5 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.004896, allocations: 3.984 kB / 296.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-05/0.004972, allocations: 19.19 kB / 296.5 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.004977, allocations: 3.984 kB / 296.5 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.004978, allocations: 0 / 296.5 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.004984, allocations: 7.938 kB / 296.5 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.004986, allocations: 3.984 kB / 296.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.004987, allocations: 0 / 296.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.605e-05/0.005083, allocations: 147.5 kB / 296.7 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-06/0.005091, allocations: 4.031 kB / 296.7 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.956e-05/0.00512, allocations: 7.938 kB / 296.7 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-06/0.005129, allocations: 0 / 296.7 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.005131, allocations: 0 / 296.7 MB, free: 1.973 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.523e-05/0.005146, allocations: 20.83 kB / 296.7 MB, free: 1.949 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005146, allocations: 0 / 296.7 MB, free: 1.949 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001153/0.005261, allocations: 8 kB / 296.7 MB, free: 1.941 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 6.455e-05/0.005326, allocations: 73.19 kB / 296.8 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.472e-05/0.005391, allocations: 28.78 kB / 296.8 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.005396, allocations: 4.188 kB / 296.8 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-05/0.005408, allocations: 12.86 kB / 296.9 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.005541, allocations: 15.98 kB / 296.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.005871, allocations: 149.5 kB / 297 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.868e-05/0.0059, allocations: 55.36 kB / 297.1 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.562e-05/0.005926, allocations: 7.984 kB / 297.1 MB, free: 1.543 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.005968, allocations: 55.38 kB / 297.1 MB, free: 1.488 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.005969, allocations: 0 / 297.1 MB, free: 1.488 MB / 282.7 MB Notification: Performance of Templates: time 0.001862/0.007831, allocations: 0.5621 MB / 297.7 MB, free: 0.9297 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.736205430701375]