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.001378/0.001378, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001465/0.001465, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9602/0.9602, 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.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.2393/0.2393, allocations: 34.27 MB / 296 MB, free: 0.7773 MB / 266.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.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 1.683e-06/1.683e-06, allocations: 0 / 378 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.742e-05, allocations: 9.688 kB / 378 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.006152/0.006179, allocations: 2.298 MB / 380.3 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00422/0.0104, allocations: 1.656 MB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.01063, allocations: 4 kB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004577/0.01108, allocations: 143.2 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006315/0.01172, allocations: 302.5 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009918/0.01271, allocations: 0.5377 MB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005821/0.01329, allocations: 0.5803 MB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.01346, allocations: 45.25 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003262/0.01378, allocations: 315.1 kB / 383.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.01403, allocations: 207.4 kB / 384.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.01407, allocations: 24 kB / 384.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003473/0.01441, allocations: 191.6 kB / 384.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.01457, allocations: 143.4 kB / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.0147, allocations: 115.6 kB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000531/0.01523, allocations: 466.3 kB / 385 MB, free: 11.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.01524, allocations: 0 / 385 MB, free: 11.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.01524, allocations: 0 / 385 MB, free: 11.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.01525, allocations: 0 / 385 MB, free: 11.98 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.0008942/0.01614, allocations: 0.9613 MB / 386 MB, free: 10.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.01618, allocations: 8.031 kB / 386 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.01628, allocations: 60.61 kB / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.0167, allocations: 403.2 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.01673, allocations: 8.609 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.01675, allocations: 12.38 kB / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.01709, allocations: 348.4 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.0171, allocations: 7.875 kB / 386.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.01712, allocations: 12 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.01713, allocations: 4 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.01726, allocations: 67.84 kB / 386.9 MB, free: 9.949 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007017/0.01796, allocations: 0.9336 MB / 387.8 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.01825, allocations: 232.5 kB / 388 MB, free: 8.688 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.506e-05/0.01834, allocations: 78.72 kB / 388.1 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.01836, allocations: 8 kB / 388.1 MB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.01859, allocations: 202.5 kB / 388.3 MB, free: 8.359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.01859, allocations: 0 / 388.3 MB, free: 8.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004518/0.01904, allocations: 305.1 kB / 388.6 MB, free: 8.055 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/0.01912, allocations: 243.3 kB / 388.8 MB, free: 7.762 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004511/0.01957, allocations: 0.565 MB / 389.4 MB, free: 7.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.0196, allocations: 33.7 kB / 389.4 MB, free: 7.141 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.01976, allocations: 291.4 kB / 389.7 MB, free: 6.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.562e-05/0.01981, allocations: 71.45 kB / 389.8 MB, free: 6.781 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.01988, allocations: 63.34 kB / 389.9 MB, free: 6.711 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.02004, allocations: 0.5508 MB / 390.4 MB, free: 6.148 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.02011, allocations: 47.95 kB / 390.5 MB, free: 6.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.02031, allocations: 404.5 kB / 390.8 MB, free: 5.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.0205, allocations: 174.4 kB / 391 MB, free: 5.387 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.0205, allocations: 0 / 391 MB, free: 5.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002956/0.0208, allocations: 253.1 kB / 391.3 MB, free: 5.133 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.02082, allocations: 8 kB / 391.3 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.02082, allocations: 0 / 391.3 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.02084, allocations: 4 kB / 391.3 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.02102, allocations: 59.84 kB / 391.3 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.02103, allocations: 4 kB / 391.3 MB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.02113, allocations: 27.83 kB / 391.4 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.02115, allocations: 19.94 kB / 391.4 MB, free: 5.012 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.0001337/0.02128, allocations: 188.8 kB / 391.6 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/0.02135, allocations: 67.73 kB / 391.6 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.02173, allocations: 293.7 kB / 391.9 MB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.02173, allocations: 4 kB / 391.9 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.02174, allocations: 0 / 391.9 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.02174, allocations: 4 kB / 391.9 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.02202, allocations: 336.2 kB / 392.3 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.02202, allocations: 0 / 392.3 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-05/0.0221, allocations: 31.98 kB / 392.3 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.02211, allocations: 8 kB / 392.3 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.02213, allocations: 11.98 kB / 392.3 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.02213, allocations: 4 kB / 392.3 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.02213, allocations: 3.938 kB / 392.3 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.02246, allocations: 335 kB / 392.6 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.02251, allocations: 59.59 kB / 392.7 MB, free: 3.605 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.02256, allocations: 12 kB / 392.7 MB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.02264, allocations: 11.98 kB / 392.7 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/0.02272, allocations: 43.94 kB / 392.8 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.02274, allocations: 19.94 kB / 392.8 MB, free: 3.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002695/0.02301, allocations: 386.7 kB / 393.2 MB, free: 3.145 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02301, allocations: 0 / 393.2 MB, free: 3.145 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002918/0.0233, allocations: 99.88 kB / 393.3 MB, free: 3.047 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.0009444/0.02425, allocations: 438.8 kB / 393.7 MB, free: 2.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.02451, allocations: 167.6 kB / 393.9 MB, free: 2.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02451, allocations: 0 / 393.9 MB, free: 2.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.02463, allocations: 96.05 kB / 394 MB, free: 2.484 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.02505, allocations: 174.8 kB / 394.1 MB, free: 2.328 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007903/0.02584, allocations: 0.7145 MB / 394.8 MB, free: 1.566 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.442e-05/0.02592, allocations: 133.5 kB / 395 MB, free: 1.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.02606, allocations: 71.55 kB / 395 MB, free: 1.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.604e-05/0.02616, allocations: 64.47 kB / 395.1 MB, free: 1.277 MB / 362.7 MB Notification: Performance of SimCode: time 9.41e-07/0.02616, allocations: 0 / 395.1 MB, free: 1.277 MB / 362.7 MB Notification: Performance of Templates: time 0.01027/0.03643, allocations: 7.998 MB / 403.1 MB, free: 9.371 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","",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.2307460037991405]