Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001208/0.001208, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1907/0.1907, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 77.09 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09102/0.09234, allocations: 62.44 MB / 481.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003396/0.09578, allocations: 2.328 MB / 483.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.09825, allocations: 1.684 MB / 485.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.0984, allocations: 7.938 kB / 485.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.09876, allocations: 143.3 kB / 485.6 MB, free: 372 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005/0.09928, allocations: 290.8 kB / 485.9 MB, free: 80 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.1004, allocations: 0.5139 MB / 486.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005028/0.1009, allocations: 0.5805 MB / 487 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.101, allocations: 73.06 kB / 487.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.1013, allocations: 227.1 kB / 487.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.1015, allocations: 227 kB / 487.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.903e-05/0.1016, allocations: 32 kB / 487.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.1018, allocations: 167.8 kB / 487.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.102, allocations: 139.5 kB / 487.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.1021, allocations: 214.6 kB / 488 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005217/0.1027, allocations: 0.5879 MB / 488.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1027, allocations: 0 / 488.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.919e-06/0.1027, allocations: 0 / 488.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1027, allocations: 7.875 kB / 488.6 MB, free: 13.33 MB / 366.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.00109/0.1038, allocations: 0.9059 MB / 489.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.1038, allocations: 15.97 kB / 489.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.033e-05/0.1039, allocations: 52.28 kB / 489.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/0.1046, allocations: 480 kB / 490.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.1046, allocations: 12.61 kB / 490.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.1046, allocations: 16.12 kB / 490.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.1051, allocations: 264.9 kB / 490.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1051, allocations: 0 / 490.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.1051, allocations: 11.98 kB / 490.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1051, allocations: 4 kB / 490.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.1054, allocations: 111.8 kB / 490.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00096/0.1064, allocations: 0.8795 MB / 491.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005988/0.107, allocations: 306.5 kB / 491.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.1072, allocations: 103.4 kB / 491.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.1072, allocations: 8.219 kB / 491.8 MB, free: 9.922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003651/0.1076, allocations: 234.4 kB / 492 MB, free: 9.668 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.1076, allocations: 0 / 492 MB, free: 9.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008786/0.1085, allocations: 400.7 kB / 492.4 MB, free: 9.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.1086, allocations: 354.1 kB / 492.7 MB, free: 8.844 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006936/0.1093, allocations: 0.6592 MB / 493.4 MB, free: 8.176 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.1094, allocations: 37.7 kB / 493.4 MB, free: 8.133 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.1095, allocations: 236.4 kB / 493.7 MB, free: 7.898 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.433e-05/0.1096, allocations: 71.14 kB / 493.7 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.15e-05/0.1097, allocations: 61.69 kB / 493.8 MB, free: 7.762 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1098, allocations: 366.8 kB / 494.2 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.11, allocations: 79.95 kB / 494.2 MB, free: 7.316 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.1103, allocations: 253 kB / 494.5 MB, free: 7.008 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.1108, allocations: 223.8 kB / 494.7 MB, free: 6.766 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1108, allocations: 4 kB / 494.7 MB, free: 6.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005684/0.1113, allocations: 320.8 kB / 495 MB, free: 6.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1114, allocations: 4 kB / 495 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1114, allocations: 0 / 495 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1114, allocations: 7.938 kB / 495 MB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.1116, allocations: 55.91 kB / 495.1 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-06/0.1116, allocations: 0 / 495.1 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.1118, allocations: 35.89 kB / 495.1 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.1119, allocations: 16 kB / 495.1 MB, free: 6.324 MB / 366.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 ($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.0002032/0.1121, allocations: 218 kB / 495.3 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.658e-05/0.1122, allocations: 51.34 kB / 495.4 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.149e-05/0.1123, allocations: 60.25 kB / 495.5 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.1123, allocations: 11.94 kB / 495.5 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1123, allocations: 3.938 kB / 495.5 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1123, allocations: 7.984 kB / 495.5 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.1126, allocations: 417.2 kB / 495.9 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1127, allocations: 0 / 495.9 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.1128, allocations: 27.98 kB / 495.9 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1128, allocations: 3.938 kB / 495.9 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.1128, allocations: 7.984 kB / 495.9 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/0.1128, allocations: 7.938 kB / 495.9 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1128, allocations: 0 / 495.9 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/0.1134, allocations: 369.8 kB / 496.3 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.1136, allocations: 132.4 kB / 496.4 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.1136, allocations: 11.94 kB / 496.4 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.1138, allocations: 19.92 kB / 496.5 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-05/0.1139, allocations: 39.95 kB / 496.5 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.1139, allocations: 12 kB / 496.5 MB, free: 4.844 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005004/0.1144, allocations: 498.8 kB / 497 MB, free: 4.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1144, allocations: 0 / 497 MB, free: 4.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003742/0.1148, allocations: 95.94 kB / 497.1 MB, free: 4.266 MB / 366.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 (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.0009582/0.1158, allocations: 458 kB / 497.5 MB, free: 3.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005197/0.1163, allocations: 228 kB / 497.8 MB, free: 3.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1163, allocations: 0 / 497.8 MB, free: 3.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.1167, allocations: 180.4 kB / 497.9 MB, free: 3.555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005903/0.1173, allocations: 151.9 kB / 498.1 MB, free: 3.418 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.1184, allocations: 0.8089 MB / 498.9 MB, free: 2.566 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.1187, allocations: 0.8507 MB / 499.7 MB, free: 1.684 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001969/0.1189, allocations: 83.23 kB / 499.8 MB, free: 1.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.1191, allocations: 55.42 kB / 499.9 MB, free: 1.543 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1191, allocations: 0 / 499.9 MB, free: 1.543 MB / 366.1 MB Notification: Performance of Templates: time 0.01216/0.1312, allocations: 7.644 MB / 0.4956 GB, free: 9.93 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches