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.0009416/0.0009416, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001416/0.001416, allocations: 171.5 kB / 24.82 MB, free: 9.27 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.94/0.94, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2644/0.2644, allocations: 32.81 MB / 294.6 MB, free: 1.234 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.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.573e-06/1.573e-06, allocations: 0 / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.769e-05, allocations: 2.312 kB / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.00275/0.002767, allocations: 2.279 MB / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.004571, allocations: 1.656 MB / 380.4 MB, free: 472 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.004675, allocations: 4 kB / 380.4 MB, free: 468 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.004982, allocations: 143.2 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003854/0.005367, allocations: 306.5 kB / 380.8 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.006034, allocations: 0.5339 MB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003857/0.006419, allocations: 0.5919 MB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.006525, allocations: 37.27 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.006783, allocations: 315.2 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.006961, allocations: 207.4 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.006996, allocations: 28 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.007214, allocations: 187.6 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.007317, allocations: 143.4 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.007396, allocations: 103.6 kB / 383 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.007763, allocations: 466.3 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.007765, allocations: 0 / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.007766, allocations: 0 / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.00777, allocations: 0 / 383.4 MB, free: 13.43 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.0007434/0.008513, allocations: 0.9573 MB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.008547, allocations: 8.031 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.36e-05/0.008621, allocations: 64.59 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.008955, allocations: 387.2 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.008978, allocations: 20.55 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.008997, allocations: 12.36 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.009212, allocations: 189.7 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.009222, allocations: 3.938 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.009234, allocations: 8 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.009241, allocations: 4 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.641e-05/0.009317, allocations: 51.88 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005602/0.009878, allocations: 0.8562 MB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.0101, allocations: 216.5 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.356e-05/0.01016, allocations: 70.72 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.01018, allocations: 8 kB / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.01036, allocations: 195.4 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.312e-06/0.01036, allocations: 0 / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003507/0.01071, allocations: 285.5 kB / 386.7 MB, free: 9.859 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.01075, allocations: 136.5 kB / 386.9 MB, free: 9.695 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/0.01111, allocations: 0.5453 MB / 387.4 MB, free: 9.133 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.01114, allocations: 33.7 kB / 387.4 MB, free: 9.094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.01129, allocations: 291.2 kB / 387.7 MB, free: 8.805 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.01134, allocations: 71.45 kB / 387.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.0114, allocations: 67.31 kB / 387.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.01156, allocations: 0.5624 MB / 388.4 MB, free: 8.086 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.736e-05/0.01161, allocations: 31.95 kB / 388.4 MB, free: 8.055 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.01174, allocations: 258.9 kB / 388.7 MB, free: 7.727 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.01189, allocations: 161.9 kB / 388.9 MB, free: 7.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.0119, allocations: 0 / 388.9 MB, free: 7.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002302/0.01213, allocations: 233.2 kB / 389.1 MB, free: 7.301 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.01214, allocations: 8 kB / 389.1 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01215, allocations: 0 / 389.1 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.01216, allocations: 4 kB / 389.1 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.01229, allocations: 55.89 kB / 389.2 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.0123, allocations: 11.92 kB / 389.2 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.512e-05/0.01238, allocations: 23.84 kB / 389.2 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.0124, allocations: 15.98 kB / 389.2 MB, free: 7.184 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.0001107/0.01251, allocations: 188.4 kB / 389.4 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.01256, allocations: 75.67 kB / 389.5 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.01286, allocations: 266 kB / 389.7 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01286, allocations: 4 kB / 389.7 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01286, allocations: 4 kB / 389.7 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.01287, allocations: 3.984 kB / 389.7 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.01307, allocations: 265.1 kB / 390 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01307, allocations: 4 kB / 390 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.415e-05/0.01313, allocations: 31.92 kB / 390 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01314, allocations: 8 kB / 390 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.01315, allocations: 11.98 kB / 390 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.01315, allocations: 4 kB / 390 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01315, allocations: 0 / 390 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.01341, allocations: 318.9 kB / 390.4 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.01346, allocations: 51.66 kB / 390.4 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.01349, allocations: 8 kB / 390.4 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.606e-05/0.01356, allocations: 11.98 kB / 390.4 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.01362, allocations: 43.94 kB / 390.5 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.01364, allocations: 19.98 kB / 390.5 MB, free: 5.812 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002034/0.01384, allocations: 354.7 kB / 390.8 MB, free: 5.469 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01384, allocations: 0 / 390.8 MB, free: 5.469 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002393/0.01408, allocations: 95.86 kB / 390.9 MB, free: 5.375 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.0008246/0.01491, allocations: 439.9 kB / 391.4 MB, free: 5.074 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.0151, allocations: 143.4 kB / 391.5 MB, free: 4.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.0151, allocations: 0 / 391.5 MB, free: 4.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.357e-05/0.01519, allocations: 95.48 kB / 391.6 MB, free: 4.832 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.01556, allocations: 174.3 kB / 391.8 MB, free: 4.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.01624, allocations: 0.7143 MB / 392.5 MB, free: 3.918 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.465e-05/0.01631, allocations: 125.6 kB / 392.6 MB, free: 3.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000118/0.01643, allocations: 71.3 kB / 392.7 MB, free: 3.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.01662, allocations: 178.1 kB / 392.8 MB, free: 3.523 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01662, allocations: 0 / 392.8 MB, free: 3.523 MB / 362.7 MB Notification: Performance of Templates: time 0.01035/0.02697, allocations: 8.427 MB / 401.3 MB, free: 11.2 MB / 378.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: 2.90299015911296]