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.0008348/0.0008348, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001751/0.001751, allocations: 165.9 kB / 24.99 MB, free: 8.336 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.9873/0.9873, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2494/0.2494, allocations: 32.81 MB / 294.6 MB, free: 1.227 MB / 266.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 1.453e-06/1.453e-06, allocations: 0 / 376 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.868e-05, allocations: 4.141 kB / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002131/0.002159, allocations: 1.593 MB / 377.6 MB, free: 3.395 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002149/0.002374, allocations: 71.73 kB / 377.6 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.002432, allocations: 0 / 377.6 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.002534, allocations: 3.938 kB / 377.6 MB, free: 3.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.817e-05/0.002562, allocations: 7.875 kB / 377.7 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.002685, allocations: 31.95 kB / 377.7 MB, free: 3.281 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.698e-05/0.002782, allocations: 35.86 kB / 377.7 MB, free: 3.246 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.382e-05/0.002875, allocations: 7.938 kB / 377.7 MB, free: 3.238 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.417e-05/0.00292, allocations: 19.98 kB / 377.7 MB, free: 3.219 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.935e-05/0.002969, allocations: 15.91 kB / 377.8 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.002986, allocations: 0 / 377.8 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.377e-06/0.002996, allocations: 4 kB / 377.8 MB, free: 3.199 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.003012, allocations: 4 kB / 377.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.003033, allocations: 7.984 kB / 377.8 MB, free: 3.188 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.724e-05/0.00313, allocations: 31.84 kB / 377.8 MB, free: 3.156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003132, allocations: 4 kB / 377.8 MB, free: 3.152 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003133, allocations: 0 / 377.8 MB, free: 3.152 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.003138, allocations: 0 / 377.8 MB, free: 3.152 MB / 346.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.0003525/0.003491, allocations: 372.5 kB / 378.2 MB, free: 2.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.003528, allocations: 12.03 kB / 378.2 MB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.003566, allocations: 8.938 kB / 378.2 MB, free: 2.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.003712, allocations: 124.5 kB / 378.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.003722, allocations: 4.375 kB / 378.3 MB, free: 2.578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.003743, allocations: 4.375 kB / 378.3 MB, free: 2.574 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.003886, allocations: 97.92 kB / 378.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.003892, allocations: 4.125 kB / 378.4 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.003901, allocations: 384 / 378.4 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.003908, allocations: 384 / 378.4 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.297e-05/0.003941, allocations: 15.94 kB / 378.4 MB, free: 2.438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.004307, allocations: 0.521 MB / 379 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.004417, allocations: 43.05 kB / 379 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.004438, allocations: 7.688 kB / 379 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.004451, allocations: 4 kB / 379 MB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.004471, allocations: 45.27 kB / 379.1 MB, free: 1.746 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.004472, allocations: 0 / 379.1 MB, free: 1.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000315/0.004787, allocations: 85.73 kB / 379.1 MB, free: 1.656 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.004817, allocations: 59.34 kB / 379.2 MB, free: 1.586 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.0049, allocations: 173.9 kB / 379.4 MB, free: 1.398 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.004909, allocations: 29.7 kB / 379.4 MB, free: 1.363 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.004964, allocations: 134.8 kB / 379.5 MB, free: 1.227 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.947e-06/0.004973, allocations: 11.91 kB / 379.5 MB, free: 1.215 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.005005, allocations: 27.36 kB / 379.6 MB, free: 1.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.005105, allocations: 0.4884 MB / 380.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.005124, allocations: 11.98 kB / 380.1 MB, free: 0.668 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.898e-05/0.005153, allocations: 38.75 kB / 380.1 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.432e-05/0.005207, allocations: 58.67 kB / 380.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.005208, allocations: 0 / 380.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.149e-05/0.00529, allocations: 73.52 kB / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.005303, allocations: 4 kB / 380.2 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.005307, allocations: 0 / 380.2 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.00532, allocations: 8.094 kB / 380.3 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.475e-05/0.005364, allocations: 15.92 kB / 380.3 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.00537, allocations: 4 kB / 380.3 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.795e-05/0.005388, allocations: 0 / 380.3 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.005394, allocations: 4 kB / 380.3 MB, free: 436 kB / 346.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 6.105e-05/0.005455, allocations: 160.5 kB / 380.4 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.00547, allocations: 7.938 kB / 380.4 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.005491, allocations: 8 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005492, allocations: 4 kB / 380.5 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.005498, allocations: 7.984 kB / 380.5 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.005501, allocations: 4 kB / 380.5 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.42e-05/0.005595, allocations: 124.6 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005596, allocations: 0 / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.005641, allocations: 11.94 kB / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.005643, allocations: 3.938 kB / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.005651, allocations: 0 / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.005652, allocations: 0 / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.005653, allocations: 4 kB / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.005812, allocations: 211.9 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.005818, allocations: 3.953 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.00583, allocations: 3.969 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.076e-05/0.005861, allocations: 8 kB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.005876, allocations: 7.984 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.005879, allocations: 0 / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.78e-05/0.005917, allocations: 127.2 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005917, allocations: 0 / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000142/0.006059, allocations: 15.94 kB / 381 MB, free: 15.66 MB / 362.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 7.153e-05/0.00613, allocations: 91.23 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.431e-05/0.006215, allocations: 31.95 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.006216, allocations: 4.188 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.467e-05/0.006231, allocations: 19.62 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.006424, allocations: 16.11 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.006708, allocations: 154 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.245e-05/0.00674, allocations: 55.36 kB / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.758e-05/0.006768, allocations: 3.984 kB / 381.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.006792, allocations: 12.5 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.006793, allocations: 0 / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of Templates: time 0.002043/0.008835, allocations: 493.1 kB / 381.8 MB, free: 14.74 MB / 362.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.0106816401239485]