Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 179.2 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007595/0.0007596, allocations: 91.08 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4198/0.4198, allocations: 43.56 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004338/0.000434, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1512, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002995/0.1543, allocations: 1.892 MB / 492.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.157, allocations: 1.385 MB / 493.5 MB, free: 7.926 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003871/0.1575, allocations: 8 kB / 493.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.158, allocations: 119.5 kB / 493.6 MB, free: 7.801 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006645/0.1587, allocations: 171.2 kB / 493.8 MB, free: 7.633 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.1605, allocations: 0.5381 MB / 494.3 MB, free: 7.094 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000946/0.1614, allocations: 462.5 kB / 494.8 MB, free: 6.641 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.1617, allocations: 65.2 kB / 494.8 MB, free: 6.574 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004395/0.1621, allocations: 195.1 kB / 495 MB, free: 6.383 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.1624, allocations: 183.1 kB / 495.2 MB, free: 6.203 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.903e-05/0.1625, allocations: 8 kB / 495.2 MB, free: 6.195 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.1629, allocations: 127.8 kB / 495.4 MB, free: 6.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.1631, allocations: 111.6 kB / 495.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.1632, allocations: 97.45 kB / 495.6 MB, free: 5.859 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00066/0.1639, allocations: 419.3 kB / 496 MB, free: 5.449 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1639, allocations: 0 / 496 MB, free: 5.449 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1639, allocations: 0 / 496 MB, free: 5.449 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.164, allocations: 0 / 496 MB, free: 5.449 MB / 378.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.001566/0.1655, allocations: 0.8126 MB / 496.8 MB, free: 4.559 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1656, allocations: 12.02 kB / 496.8 MB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.1658, allocations: 51.34 kB / 496.8 MB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007552/0.1665, allocations: 443.2 kB / 497.3 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/0.1666, allocations: 16.23 kB / 497.3 MB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.1666, allocations: 8 kB / 497.3 MB, free: 4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/0.1671, allocations: 261.4 kB / 497.6 MB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1672, allocations: 0 / 497.6 MB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.1672, allocations: 15.95 kB / 497.6 MB, free: 3.688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.1672, allocations: 11.97 kB / 497.6 MB, free: 3.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.1676, allocations: 103.9 kB / 497.7 MB, free: 3.574 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.169, allocations: 0.8757 MB / 498.6 MB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007135/0.1698, allocations: 294.5 kB / 498.8 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.17, allocations: 99.39 kB / 498.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/0.1701, allocations: 8 kB / 498.9 MB, free: 2.195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004957/0.1706, allocations: 218.7 kB / 499.2 MB, free: 1.957 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 3.476e-06/0.1706, allocations: 4 kB / 499.2 MB, free: 1.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001015/0.1716, allocations: 401.2 kB / 499.6 MB, free: 1.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001917/0.1718, allocations: 346.1 kB / 499.9 MB, free: 1.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008311/0.1727, allocations: 0.6276 MB / 0.4888 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/0.1727, allocations: 37.7 kB / 0.4888 GB, free: 464 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.1729, allocations: 228.4 kB / 0.489 GB, free: 232 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.919e-05/0.173, allocations: 67.19 kB / 0.4891 GB, free: 164 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/0.1731, allocations: 8 kB / 0.4891 GB, free: 156 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.292/0.4651, allocations: 366.2 kB / 0.4895 GB, free: 42.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.4655, allocations: 75.36 kB / 0.4895 GB, free: 42.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.4659, allocations: 239 kB / 0.4898 GB, free: 42.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.4662, allocations: 97.88 kB / 0.4899 GB, free: 42.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.4662, allocations: 1.25 kB / 0.4899 GB, free: 42.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008188/0.467, allocations: 317.8 kB / 0.4902 GB, free: 42.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.467, allocations: 5.75 kB / 0.4902 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.467, allocations: 1.219 kB / 0.4902 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.4671, allocations: 4.25 kB / 0.4902 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.4674, allocations: 58.16 kB / 0.4902 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.4674, allocations: 6.469 kB / 0.4902 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.4676, allocations: 33.53 kB / 0.4903 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.4677, allocations: 12.94 kB / 0.4903 GB, free: 42.7 MB / 378.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 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003138/0.468, allocations: 213 kB / 0.4905 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.999e-05/0.4681, allocations: 55.56 kB / 0.4905 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.4682, allocations: 57.38 kB / 0.4906 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.4682, allocations: 4.859 kB / 0.4906 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4682, allocations: 5.562 kB / 0.4906 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.4682, allocations: 2.281 kB / 0.4906 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.4687, allocations: 409.8 kB / 0.491 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.4687, allocations: 2.141 kB / 0.491 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.4689, allocations: 26.27 kB / 0.491 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.4689, allocations: 4.25 kB / 0.491 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.4689, allocations: 12.27 kB / 0.491 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.4689, allocations: 2.562 kB / 0.491 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4689, allocations: 6.859 kB / 0.491 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006938/0.4696, allocations: 358.8 kB / 0.4914 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.4697, allocations: 138.9 kB / 0.4915 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.4698, allocations: 10.81 kB / 0.4915 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.47, allocations: 21.28 kB / 0.4916 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.4701, allocations: 36.03 kB / 0.4916 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.445e-05/0.4702, allocations: 18.58 kB / 0.4916 GB, free: 42.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000683/0.4709, allocations: 462.2 kB / 0.492 GB, free: 42.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4709, allocations: 0 / 0.492 GB, free: 42.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004403/0.4713, allocations: 102.7 kB / 0.4921 GB, free: 42.07 MB / 378.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.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009899/0.4723, allocations: 466.3 kB / 0.4926 GB, free: 41.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006095/0.473, allocations: 228.6 kB / 0.4928 GB, free: 41.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.473, allocations: 0 / 0.4928 GB, free: 41.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.4733, allocations: 122.4 kB / 0.4929 GB, free: 41.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007168/0.474, allocations: 132.8 kB / 0.493 GB, free: 41.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.4754, allocations: 0.8785 MB / 0.4939 GB, free: 41.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.4758, allocations: 0.8409 MB / 0.4947 GB, free: 40.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.4759, allocations: 49.98 kB / 0.4948 GB, free: 40.71 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.476, allocations: 0 / 0.4948 GB, free: 40.71 MB / 378.7 MB Notification: Performance of Templates: time 0.01233/0.4883, allocations: 6.97 MB / 0.5016 GB, free: 39.99 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches