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.001294/0.001293, allocations: 107.3 kB / 17.03 MB, free: 6.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 196.1 kB / 17.97 MB, free: 5.211 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.366/1.366, allocations: 205.1 MB / 223.8 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2012/0.2012, allocations: 43.53 MB / 314.7 MB, free: 472 kB / 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.001481/0.001481, allocations: 69.62 kB / 384.2 MB, free: 56.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1037, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003249/0.107, allocations: 2.272 MB / 444.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.109, allocations: 1.455 MB / 445.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.1091, allocations: 11.88 kB / 445.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000406/0.1095, allocations: 147.2 kB / 445.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.1099, allocations: 219 kB / 446 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.1111, allocations: 0.6057 MB / 446.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004354/0.1115, allocations: 0.5298 MB / 447.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.1117, allocations: 81 kB / 447.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.1119, allocations: 219.1 kB / 447.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.1121, allocations: 219 kB / 447.7 MB, free: 396 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.1121, allocations: 24 kB / 447.7 MB, free: 372 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.1124, allocations: 175.8 kB / 447.9 MB, free: 196 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.1125, allocations: 131.6 kB / 448 MB, free: 64 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.1128, allocations: 198.9 kB / 448.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000669/0.1134, allocations: 0.5645 MB / 448.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1135, allocations: 0 / 448.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1135, allocations: 0 / 448.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.1135, allocations: 4 kB / 448.8 MB, free: 15.3 MB / 334.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.001346/0.1148, allocations: 0.8916 MB / 449.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.1149, allocations: 15.89 kB / 449.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.115, allocations: 52.31 kB / 449.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007126/0.1157, allocations: 476 kB / 450.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.1158, allocations: 8.609 kB / 450.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.1158, allocations: 20.12 kB / 450.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.1163, allocations: 262.8 kB / 450.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1163, allocations: 0 / 450.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.1163, allocations: 4 kB / 450.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1164, allocations: 0 / 450.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.1167, allocations: 111.9 kB / 450.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.1178, allocations: 0.8718 MB / 451.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000652/0.1185, allocations: 298.5 kB / 451.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.1187, allocations: 111.4 kB / 451.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.1187, allocations: 4 kB / 451.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/0.1191, allocations: 224.5 kB / 452.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.552e-06/0.1191, allocations: 0 / 452.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009212/0.1201, allocations: 404.8 kB / 452.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001858/0.1203, allocations: 342.1 kB / 452.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007572/0.121, allocations: 0.6277 MB / 453.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.1211, allocations: 41.64 kB / 453.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.1214, allocations: 236.6 kB / 453.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/0.1215, allocations: 63.2 kB / 453.8 MB, free: 9.898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.1216, allocations: 57.69 kB / 453.8 MB, free: 9.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.1218, allocations: 366.8 kB / 454.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.1221, allocations: 83.94 kB / 454.3 MB, free: 9.387 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.1224, allocations: 249 kB / 454.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.1229, allocations: 235.7 kB / 454.8 MB, free: 8.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1229, allocations: 0 / 454.8 MB, free: 8.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00059/0.1235, allocations: 316.8 kB / 455.1 MB, free: 8.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1235, allocations: 8 kB / 455.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1235, allocations: 0 / 455.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1236, allocations: 7.938 kB / 455.1 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.1238, allocations: 59.89 kB / 455.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1238, allocations: 4 kB / 455.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.124, allocations: 27.83 kB / 455.2 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.1241, allocations: 8 kB / 455.2 MB, free: 8.398 MB / 334.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.0002257/0.1243, allocations: 226 kB / 455.4 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.553e-05/0.1244, allocations: 55.34 kB / 455.5 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.1245, allocations: 55.91 kB / 455.5 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1245, allocations: 7.938 kB / 455.5 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1245, allocations: 0 / 455.5 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1245, allocations: 7.984 kB / 455.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.125, allocations: 409.2 kB / 455.9 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.125, allocations: 0 / 455.9 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.1251, allocations: 27.92 kB / 455.9 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1251, allocations: 4 kB / 456 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.1251, allocations: 15.92 kB / 456 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.1251, allocations: 7.938 kB / 456 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1251, allocations: 0 / 456 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006351/0.1258, allocations: 366.7 kB / 456.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.1259, allocations: 124.5 kB / 456.5 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/0.126, allocations: 11.98 kB / 456.5 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.1262, allocations: 19.92 kB / 456.5 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-05/0.1263, allocations: 35.97 kB / 456.5 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/0.1263, allocations: 15.98 kB / 456.5 MB, free: 6.926 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004992/0.1268, allocations: 466.8 kB / 457 MB, free: 6.473 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1268, allocations: 0 / 457 MB, free: 6.473 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003808/0.1272, allocations: 92 kB / 457.1 MB, free: 6.383 MB / 334.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.001087/0.1283, allocations: 459.8 kB / 457.5 MB, free: 5.996 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005473/0.1289, allocations: 235.6 kB / 457.8 MB, free: 5.766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1289, allocations: 0 / 457.8 MB, free: 5.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.1292, allocations: 172.7 kB / 457.9 MB, free: 5.598 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006157/0.1299, allocations: 155 kB / 458.1 MB, free: 5.453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.1309, allocations: 0.7657 MB / 458.8 MB, free: 4.648 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.1313, allocations: 0.8389 MB / 459.7 MB, free: 3.785 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.1315, allocations: 87.23 kB / 459.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.1317, allocations: 55.41 kB / 459.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1317, allocations: 3.938 kB / 459.8 MB, free: 3.645 MB / 334.1 MB Notification: Performance of Templates: time 0.01226/0.1439, allocations: 7.535 MB / 467.4 MB, free: 12.11 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile (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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches