Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.0012, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 178.7 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.222/1.222, allocations: 205.4 MB / 222.7 MB, free: 5.91 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2893/0.2893, allocations: 43.53 MB / 314.5 MB, free: 8.883 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005313/0.0005314, allocations: 14.97 kB / 383.9 MB, free: 8.297 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1023, allocations: 58.86 MB / 442.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.0023/0.1047, allocations: 1.87 MB / 444.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.1067, allocations: 1.292 MB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.1069, allocations: 7.938 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.1073, allocations: 107.6 kB / 446 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.1077, allocations: 183.5 kB / 446.2 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.1091, allocations: 0.5301 MB / 446.7 MB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004869/0.1096, allocations: 323.3 kB / 447 MB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.1097, allocations: 77.19 kB / 447.1 MB, free: 8.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.11, allocations: 191.1 kB / 447.3 MB, free: 8.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.1102, allocations: 171.2 kB / 447.5 MB, free: 8.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.1102, allocations: 8 kB / 447.5 MB, free: 8.562 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.1105, allocations: 103.9 kB / 447.6 MB, free: 8.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.1106, allocations: 111.6 kB / 447.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.705e-05/0.1107, allocations: 97.45 kB / 447.8 MB, free: 8.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004207/0.1111, allocations: 431.3 kB / 448.2 MB, free: 7.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1111, allocations: 0 / 448.2 MB, free: 7.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1111, allocations: 0 / 448.2 MB, free: 7.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.1111, allocations: 0 / 448.2 MB, free: 7.828 MB / 382.1 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.001053/0.1122, allocations: 0.8087 MB / 449 MB, free: 6.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.1122, allocations: 12.02 kB / 449 MB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.361e-05/0.1123, allocations: 51.34 kB / 449.1 MB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005935/0.1129, allocations: 447.3 kB / 449.5 MB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.113, allocations: 12.23 kB / 449.5 MB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.113, allocations: 12 kB / 449.5 MB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.1134, allocations: 249.4 kB / 449.8 MB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1135, allocations: 4 kB / 449.8 MB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.1135, allocations: 11.94 kB / 449.8 MB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1135, allocations: 4 kB / 449.8 MB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.1138, allocations: 107.9 kB / 449.9 MB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.1148, allocations: 0.8757 MB / 450.8 MB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005865/0.1154, allocations: 294.9 kB / 451.1 MB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.1154, allocations: 12.34 kB / 451.1 MB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003792/0.1158, allocations: 218.5 kB / 451.3 MB, free: 4.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.474e-06/0.1158, allocations: 7.922 kB / 451.3 MB, free: 4.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008643/0.1167, allocations: 396.8 kB / 451.7 MB, free: 4.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.1168, allocations: 342.1 kB / 452 MB, free: 3.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006684/0.1175, allocations: 0.6315 MB / 452.7 MB, free: 3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.1176, allocations: 37.69 kB / 452.7 MB, free: 2.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.1177, allocations: 224.6 kB / 452.9 MB, free: 2.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.671e-05/0.1178, allocations: 67.17 kB / 453 MB, free: 2.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.1178, allocations: 8 kB / 453 MB, free: 2.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.118, allocations: 370.7 kB / 453.4 MB, free: 2.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.1182, allocations: 83.89 kB / 453.4 MB, free: 2.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.1185, allocations: 233.1 kB / 453.7 MB, free: 1.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.1187, allocations: 104.9 kB / 453.8 MB, free: 1.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1187, allocations: 0 / 453.8 MB, free: 1.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005821/0.1193, allocations: 312.8 kB / 454.1 MB, free: 1.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1193, allocations: 8 kB / 454.1 MB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1193, allocations: 0 / 454.1 MB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1194, allocations: 8.125 kB / 454.1 MB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.1196, allocations: 51.91 kB / 454.1 MB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.1196, allocations: 7.984 kB / 454.1 MB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.1198, allocations: 35.75 kB / 454.2 MB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.1198, allocations: 15.92 kB / 454.2 MB, free: 1.379 MB / 382.1 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.0002194/0.1201, allocations: 225.7 kB / 454.4 MB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.1201, allocations: 47.44 kB / 454.5 MB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.486e-05/0.1202, allocations: 59.91 kB / 454.5 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1203, allocations: 0 / 454.5 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1203, allocations: 4 kB / 454.5 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1203, allocations: 0 / 454.5 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.1206, allocations: 409.2 kB / 454.9 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1207, allocations: 0 / 454.9 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.1208, allocations: 27.92 kB / 455 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1208, allocations: 7.984 kB / 455 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.1208, allocations: 8.188 kB / 455 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1208, allocations: 4 kB / 455 MB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1208, allocations: 4 kB / 455 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006017/0.1214, allocations: 399.8 kB / 455.4 MB, free: 104 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1585/0.28, allocations: 143.1 kB / 455.5 MB, free: 47.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.2802, allocations: 11.73 kB / 455.5 MB, free: 47.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.2804, allocations: 16.95 kB / 455.5 MB, free: 47.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.2806, allocations: 39.12 kB / 455.6 MB, free: 47.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.2806, allocations: 16.34 kB / 455.6 MB, free: 47.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005521/0.2812, allocations: 461 kB / 456 MB, free: 47.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2812, allocations: 0 / 456 MB, free: 47.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005112/0.2817, allocations: 104.2 kB / 456.1 MB, free: 47.11 MB / 382.1 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.0009647/0.2827, allocations: 455.1 kB / 456.6 MB, free: 46.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005283/0.2832, allocations: 229 kB / 456.8 MB, free: 46.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.2832, allocations: 6.156 kB / 456.8 MB, free: 46.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.2835, allocations: 164 kB / 457 MB, free: 46.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.2841, allocations: 120.9 kB / 457.1 MB, free: 46.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.2852, allocations: 0.831 MB / 457.9 MB, free: 46.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.2854, allocations: 0.8549 MB / 458.8 MB, free: 45.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002384/0.2857, allocations: 86.69 kB / 458.9 MB, free: 45.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.2858, allocations: 53.73 kB / 458.9 MB, free: 45.82 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2858, allocations: 3.938 kB / 458.9 MB, free: 45.82 MB / 382.1 MB Notification: Performance of Templates: time 0.01005/0.2958, allocations: 6.882 MB / 465.8 MB, free: 45.22 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches