Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001856/0.001856, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001909/0.001909, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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.669/1.669, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.4277/0.4277, allocations: 34.27 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/3.024e-05, allocations: 2.312 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004345/0.004375, allocations: 2.274 MB / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003728/0.008103, allocations: 1.656 MB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.008269, allocations: 4 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004702/0.00874, allocations: 143.1 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007004/0.00944, allocations: 302.6 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.01102, allocations: 0.5338 MB / 382.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009165/0.01194, allocations: 0.588 MB / 382.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.0121, allocations: 37.27 kB / 382.8 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004924/0.0126, allocations: 311.2 kB / 383.1 MB, free: 13.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003433/0.01294, allocations: 207.4 kB / 383.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.347e-05/0.013, allocations: 28 kB / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004368/0.01344, allocations: 191.7 kB / 383.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.01363, allocations: 135.5 kB / 383.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.01381, allocations: 119.5 kB / 383.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008856/0.0147, allocations: 0.6191 MB / 384.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.01471, allocations: 4 kB / 384.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01471, allocations: 0 / 384.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.01472, allocations: 0 / 384.4 MB, free: 11.8 MB / 362.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.001525/0.01624, allocations: 0.9921 MB / 385.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.01628, allocations: 12.03 kB / 385.4 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.01642, allocations: 68.56 kB / 385.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006908/0.01711, allocations: 399.2 kB / 385.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.01714, allocations: 16.61 kB / 385.9 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.01717, allocations: 16.36 kB / 385.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005459/0.01772, allocations: 363.7 kB / 386.2 MB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.01773, allocations: 7.938 kB / 386.3 MB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.01775, allocations: 0 / 386.3 MB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.01776, allocations: 4 kB / 386.3 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.01804, allocations: 103.9 kB / 386.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.0194, allocations: 1.031 MB / 387.4 MB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.02003, allocations: 276.5 kB / 387.7 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.02025, allocations: 98.72 kB / 387.8 MB, free: 8.176 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.02026, allocations: 4 kB / 387.8 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004241/0.02069, allocations: 246.2 kB / 388 MB, free: 7.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.182e-06/0.02069, allocations: 4 kB / 388 MB, free: 7.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009068/0.0216, allocations: 357.1 kB / 388.4 MB, free: 7.543 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/0.02177, allocations: 243.3 kB / 388.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.02283, allocations: 0.6979 MB / 389.3 MB, free: 6.535 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.02287, allocations: 41.64 kB / 389.3 MB, free: 6.488 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.02317, allocations: 323.2 kB / 389.6 MB, free: 6.168 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.103e-05/0.02326, allocations: 79.59 kB / 389.7 MB, free: 6.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.02339, allocations: 75.34 kB / 389.8 MB, free: 6.008 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003871/0.02378, allocations: 0.5859 MB / 390.4 MB, free: 5.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.02397, allocations: 71.89 kB / 390.5 MB, free: 5.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/0.02444, allocations: 436.5 kB / 390.9 MB, free: 4.797 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.02491, allocations: 234.3 kB / 391.1 MB, free: 4.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.02491, allocations: 4 kB / 391.1 MB, free: 4.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006424/0.02555, allocations: 293.1 kB / 391.4 MB, free: 4.238 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.02557, allocations: 8 kB / 391.4 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.02557, allocations: 0 / 391.4 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.02558, allocations: 8.125 kB / 391.4 MB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.02583, allocations: 55.91 kB / 391.5 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.02584, allocations: 4 kB / 391.5 MB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.02603, allocations: 31.83 kB / 391.5 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.02605, allocations: 11.94 kB / 391.5 MB, free: 4.121 MB / 362.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 0.0002301/0.02628, allocations: 212.8 kB / 391.7 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.02639, allocations: 63.67 kB / 391.8 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007634/0.02716, allocations: 333.8 kB / 392.1 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.02717, allocations: 11.98 kB / 392.1 MB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.02717, allocations: 4 kB / 392.1 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.02718, allocations: 0 / 392.1 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000546/0.02772, allocations: 412.2 kB / 392.5 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.02772, allocations: 0 / 392.5 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.02786, allocations: 27.98 kB / 392.6 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.02787, allocations: 4 kB / 392.6 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.0279, allocations: 11.98 kB / 392.6 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.0279, allocations: 3.938 kB / 392.6 MB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.0279, allocations: 7.938 kB / 392.6 MB, free: 3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007444/0.02864, allocations: 382.9 kB / 393 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.02876, allocations: 59.61 kB / 393 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.12e-05/0.02883, allocations: 15.98 kB / 393 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.02898, allocations: 11.98 kB / 393 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.02908, allocations: 39.95 kB / 393.1 MB, free: 2.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.02912, allocations: 23.86 kB / 393.1 MB, free: 2.441 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005839/0.02971, allocations: 450.8 kB / 393.5 MB, free: 2.004 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02971, allocations: 0 / 393.5 MB, free: 2.004 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004158/0.03012, allocations: 99.92 kB / 393.6 MB, free: 1.906 MB / 362.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.00295/0.03307, allocations: 498.1 kB / 394.1 MB, free: 1.594 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005344/0.03361, allocations: 215.4 kB / 394.3 MB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.03361, allocations: 0 / 394.3 MB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.03389, allocations: 127.5 kB / 394.5 MB, free: 1.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007166/0.03461, allocations: 169.2 kB / 394.6 MB, free: 1.094 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.03588, allocations: 0.7537 MB / 395.4 MB, free: 300 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.03617, allocations: 254.3 kB / 395.6 MB, free: 12 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002379/0.03641, allocations: 75.3 kB / 395.7 MB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.03655, allocations: 52.48 kB / 395.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.03656, allocations: 0 / 395.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of Templates: time 0.01608/0.05263, allocations: 7.974 MB / 403.7 MB, free: 8.004 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.310838979086839]