Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.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.001444/0.001444, allocations: 80.31 kB / 22.21 MB, free: 2.281 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.001139/0.001139, allocations: 168.4 kB / 25.61 MB, free: 8.898 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 1.047/1.047, allocations: 177.1 MB / 206.1 MB, free: 4.5 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.1584/0.1584, 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.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 377.2 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.406e-05, allocations: 2.312 kB / 377.2 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002223/0.002237, allocations: 2.267 MB / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.00408, allocations: 1.655 MB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.004206, allocations: 7.938 kB / 381.2 MB, free: 21.65 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.00453, allocations: 139.2 kB / 381.3 MB, free: 21.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.00493, allocations: 306.5 kB / 381.6 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.005624, allocations: 0.5338 MB / 382.1 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.005985, allocations: 0.5842 MB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.006104, allocations: 41.25 kB / 382.8 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.006332, allocations: 319.1 kB / 383.1 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.006496, allocations: 211.4 kB / 383.3 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.006526, allocations: 24 kB / 383.3 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.006726, allocations: 183.8 kB / 383.5 MB, free: 19.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.607e-05/0.006822, allocations: 143.4 kB / 383.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.407e-05/0.006896, allocations: 107.6 kB / 383.7 MB, free: 19.08 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.007224, allocations: 466.3 kB / 384.2 MB, free: 18.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.007226, allocations: 0 / 384.2 MB, free: 18.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.007227, allocations: 0 / 384.2 MB, free: 18.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.007233, allocations: 0 / 384.2 MB, free: 18.62 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006901/0.007923, allocations: 0.9495 MB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.007961, allocations: 15.98 kB / 385.2 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.008038, allocations: 72.55 kB / 385.2 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.008342, allocations: 387.2 kB / 385.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.008368, allocations: 16.55 kB / 385.6 MB, free: 17.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.008388, allocations: 12.36 kB / 385.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.008615, allocations: 181.8 kB / 385.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.008628, allocations: 3.938 kB / 385.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.008642, allocations: 4 kB / 385.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.00865, allocations: 11.98 kB / 385.8 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.008737, allocations: 51.88 kB / 385.9 MB, free: 16.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.009239, allocations: 0.864 MB / 386.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.009454, allocations: 216.5 kB / 387 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.869e-05/0.009513, allocations: 70.7 kB / 387 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.009528, allocations: 8 kB / 387 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.009698, allocations: 194.4 kB / 387.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.352e-06/0.0097, allocations: 0 / 387.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003357/0.01004, allocations: 282.1 kB / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.01007, allocations: 140.4 kB / 387.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.01035, allocations: 0.5453 MB / 388.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.01037, allocations: 33.7 kB / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.01048, allocations: 295.1 kB / 388.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.01053, allocations: 71.45 kB / 388.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.01059, allocations: 67.31 kB / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.01068, allocations: 0.5624 MB / 389.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.476e-05/0.01072, allocations: 28.03 kB / 389.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.475e-05/0.01082, allocations: 259 kB / 389.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.01094, allocations: 157.3 kB / 389.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01094, allocations: 0 / 389.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002163/0.01116, allocations: 233.4 kB / 389.9 MB, free: 12.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.01118, allocations: 12 kB / 389.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.01118, allocations: 0 / 389.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.01119, allocations: 4 kB / 389.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.01132, allocations: 51.91 kB / 389.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.01133, allocations: 7.984 kB / 389.9 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.746e-05/0.01142, allocations: 23.89 kB / 390 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.01143, allocations: 11.98 kB / 390 MB, free: 12.38 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 9.748e-05/0.01153, allocations: 184.5 kB / 390.2 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.01158, allocations: 71.61 kB / 390.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.01186, allocations: 273.8 kB / 390.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01186, allocations: 4 kB / 390.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.01187, allocations: 4 kB / 390.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.01187, allocations: 3.984 kB / 390.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.01205, allocations: 260.9 kB / 390.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01205, allocations: 0 / 390.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.01212, allocations: 27.98 kB / 390.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01212, allocations: 4 kB / 390.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.01213, allocations: 15.98 kB / 390.8 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01213, allocations: 7.938 kB / 390.8 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01213, allocations: 0 / 390.8 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.01237, allocations: 323 kB / 391.1 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.01242, allocations: 63.55 kB / 391.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.01245, allocations: 12 kB / 391.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.01252, allocations: 11.98 kB / 391.2 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.01259, allocations: 51.81 kB / 391.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.01261, allocations: 11.98 kB / 391.3 MB, free: 11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.01277, allocations: 358.7 kB / 391.6 MB, free: 10.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01277, allocations: 0 / 391.6 MB, free: 10.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.01303, allocations: 95.86 kB / 391.7 MB, free: 10.55 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 0.000895/0.01393, allocations: 442.3 kB / 392.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.01412, allocations: 139.4 kB / 392.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01412, allocations: 0 / 392.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.646e-05/0.0142, allocations: 91.55 kB / 392.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.01458, allocations: 164.4 kB / 392.5 MB, free: 9.891 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/0.0152, allocations: 0.7125 MB / 393.2 MB, free: 9.129 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.324e-05/0.01527, allocations: 125.6 kB / 393.4 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.01538, allocations: 75.28 kB / 393.4 MB, free: 8.902 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.01557, allocations: 178.1 kB / 393.6 MB, free: 8.727 MB / 314.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01557, allocations: 0 / 393.6 MB, free: 8.727 MB / 314.7 MB Notification: Performance of Templates: time 0.01014/0.02572, allocations: 8.54 MB / 402.2 MB, free: 288 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.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.4929175549186766]