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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 106.9 kB / 17.33 MB, free: 5.984 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.001794/0.001795, allocations: 193.3 kB / 18.25 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2543/0.2543, allocations: 44.17 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 72.48 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1016, allocations: 60.82 MB / 468.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003556/0.1052, allocations: 2.305 MB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.1077, allocations: 1.543 MB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.1079, allocations: 3.938 kB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.1083, allocations: 131.6 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004772/0.1088, allocations: 199.2 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.1103, allocations: 0.6166 MB / 473.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005882/0.1109, allocations: 0.522 MB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.1111, allocations: 77.05 kB / 474.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.1114, allocations: 231 kB / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.1117, allocations: 223 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.677e-05/0.1118, allocations: 24 kB / 474.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002821/0.1121, allocations: 155.8 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.1122, allocations: 131.6 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.1124, allocations: 202.7 kB / 475 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006217/0.1131, allocations: 0.561 MB / 475.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1131, allocations: 4 kB / 475.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1131, allocations: 0 / 475.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.1131, allocations: 3.938 kB / 475.6 MB, free: 7.809 MB / 350.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.001208/0.1143, allocations: 0.8825 MB / 476.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.1144, allocations: 8.031 kB / 476.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.1145, allocations: 56.28 kB / 476.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.1151, allocations: 468.1 kB / 477 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.1151, allocations: 16.61 kB / 477 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.1151, allocations: 12.12 kB / 477 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.1156, allocations: 265.3 kB / 477.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1156, allocations: 0 / 477.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.1157, allocations: 11.98 kB / 477.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1157, allocations: 4 kB / 477.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.116, allocations: 103.9 kB / 477.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.1171, allocations: 0.8835 MB / 478.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006738/0.1178, allocations: 294.5 kB / 478.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.118, allocations: 107.4 kB / 478.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.1181, allocations: 7.984 kB / 478.7 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00049/0.1186, allocations: 218.3 kB / 478.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.024e-06/0.1186, allocations: 0 / 478.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009789/0.1196, allocations: 405.6 kB / 479.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.1197, allocations: 350.1 kB / 479.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007158/0.1205, allocations: 0.6277 MB / 480.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.1205, allocations: 33.7 kB / 480.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.1207, allocations: 224.5 kB / 480.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.651e-05/0.1208, allocations: 75.16 kB / 480.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/0.1209, allocations: 69.58 kB / 480.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.121, allocations: 362.8 kB / 481 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.1213, allocations: 87.94 kB / 481.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.1216, allocations: 245.6 kB / 481.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/0.1221, allocations: 226.8 kB / 481.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1221, allocations: 0 / 481.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006602/0.1227, allocations: 320.9 kB / 481.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1228, allocations: 4 kB / 481.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1228, allocations: 4 kB / 481.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1228, allocations: 7.938 kB / 481.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.1231, allocations: 55.91 kB / 482 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.1231, allocations: 4 kB / 482 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.1233, allocations: 27.83 kB / 482 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.1233, allocations: 11.98 kB / 482 MB, free: 0.918 MB / 350.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.000292/0.1237, allocations: 221.9 kB / 482.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/0.1238, allocations: 55.33 kB / 482.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.1239, allocations: 63.84 kB / 482.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1239, allocations: 7.938 kB / 482.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1239, allocations: 0 / 482.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1239, allocations: 0 / 482.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.1243, allocations: 401.3 kB / 482.7 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1243, allocations: 0 / 482.7 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.1244, allocations: 27.98 kB / 482.8 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1245, allocations: 8 kB / 482.8 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.1245, allocations: 8.172 kB / 482.8 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1245, allocations: 7.938 kB / 482.8 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1245, allocations: 4 kB / 482.8 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006899/0.1252, allocations: 362.7 kB / 483.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1253, allocations: 132.5 kB / 483.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.1254, allocations: 8 kB / 483.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.1256, allocations: 23.86 kB / 483.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.1257, allocations: 39.94 kB / 483.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.1257, allocations: 12 kB / 483.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005263/0.1263, allocations: 466.8 kB / 483.8 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1263, allocations: 0 / 483.8 MB, free: 15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004403/0.1267, allocations: 107.9 kB / 483.9 MB, free: 14.9 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.001085/0.1278, allocations: 463.4 kB / 484.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006085/0.1285, allocations: 243.5 kB / 484.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1285, allocations: 0 / 484.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.1289, allocations: 168.1 kB / 484.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00071/0.1296, allocations: 156.2 kB / 484.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.1308, allocations: 0.8674 MB / 485.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.1312, allocations: 0.8427 MB / 486.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000242/0.1314, allocations: 91.19 kB / 486.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.1315, allocations: 55.41 kB / 486.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1316, allocations: 0 / 486.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of Templates: time 0.01383/0.1454, allocations: 7.436 MB / 494.2 MB, free: 4.758 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches