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.0009725/0.0009723, allocations: 98.62 kB / 18.01 MB, free: 5.738 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.001418/0.001418, allocations: 180 kB / 18.91 MB, free: 4.871 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.36/1.36, allocations: 223.3 MB / 243 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2099/0.2099, allocations: 44.25 MB / 338.3 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.000366, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1215, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002442/0.124, allocations: 1.954 MB / 474.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1263, allocations: 1.52 MB / 476.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.1264, allocations: 11.94 kB / 476.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.1268, allocations: 123.6 kB / 476.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.1272, allocations: 203.2 kB / 476.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.1286, allocations: 0.6114 MB / 477.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005032/0.1291, allocations: 498.6 kB / 477.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1293, allocations: 61.06 kB / 477.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.1295, allocations: 195 kB / 478.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.1298, allocations: 211 kB / 478.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.1298, allocations: 8 kB / 478.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.1301, allocations: 115.9 kB / 478.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.1302, allocations: 119.5 kB / 478.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.1304, allocations: 208.4 kB / 478.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.1308, allocations: 423.3 kB / 479.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1308, allocations: 4 kB / 479.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1309, allocations: 0 / 479.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1309, allocations: 0 / 479.1 MB, free: 7.098 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.00109/0.132, allocations: 0.8088 MB / 479.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.132, allocations: 8.031 kB / 479.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.576e-05/0.1321, allocations: 52.38 kB / 480 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005535/0.1327, allocations: 468 kB / 480.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.1327, allocations: 12.61 kB / 480.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.1327, allocations: 20.05 kB / 480.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.1332, allocations: 269.4 kB / 480.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1332, allocations: 0 / 480.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.1333, allocations: 4 kB / 480.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.1333, allocations: 4 kB / 480.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.1336, allocations: 111.9 kB / 480.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.1347, allocations: 0.8758 MB / 481.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006779/0.1353, allocations: 290.5 kB / 482 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.1356, allocations: 111.4 kB / 482.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.1356, allocations: 4 kB / 482.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004341/0.1361, allocations: 226.5 kB / 482.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.024e-06/0.1361, allocations: 3.938 kB / 482.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009642/0.1371, allocations: 397.6 kB / 482.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.1372, allocations: 342.1 kB / 483.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007326/0.138, allocations: 0.6393 MB / 483.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.138, allocations: 33.7 kB / 483.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.1382, allocations: 220.6 kB / 484 MB, free: 1.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.356e-05/0.1383, allocations: 75.25 kB / 484 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.1383, allocations: 29.7 kB / 484.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1385, allocations: 366.8 kB / 484.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.1387, allocations: 83.89 kB / 484.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.1391, allocations: 241.6 kB / 484.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/0.1396, allocations: 238.8 kB / 485 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1396, allocations: 0 / 485 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006969/0.1403, allocations: 312.9 kB / 485.3 MB, free: 444 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.1403, allocations: 8 kB / 485.3 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1404, allocations: 7.984 kB / 485.3 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.1404, allocations: 7.938 kB / 485.3 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.1407, allocations: 51.91 kB / 485.4 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.1407, allocations: 4 kB / 485.4 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.1409, allocations: 31.83 kB / 485.4 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.1409, allocations: 12.25 kB / 485.4 MB, free: 320 kB / 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.0002545/0.1412, allocations: 225.7 kB / 485.6 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.565e-05/0.1413, allocations: 55.34 kB / 485.7 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.1414, allocations: 51.98 kB / 485.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1414, allocations: 7.938 kB / 485.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.1414, allocations: 0 / 485.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1415, allocations: 4 kB / 485.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004023/0.1419, allocations: 413.1 kB / 486.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1419, allocations: 0 / 486.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.142, allocations: 27.92 kB / 486.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.142, allocations: 0 / 486.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.1421, allocations: 15.98 kB / 486.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1421, allocations: 7.938 kB / 486.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1421, allocations: 0 / 486.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/0.1427, allocations: 362.4 kB / 486.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.1429, allocations: 144.5 kB / 486.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/0.1429, allocations: 8 kB / 486.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.1431, allocations: 27.91 kB / 486.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/0.1432, allocations: 35.94 kB / 486.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.1433, allocations: 20 kB / 486.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005388/0.1438, allocations: 470.7 kB / 487.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1438, allocations: 0 / 487.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004444/0.1443, allocations: 95.84 kB / 487.3 MB, free: 14.28 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.001123/0.1454, allocations: 462 kB / 487.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005628/0.146, allocations: 227.6 kB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.146, allocations: 0 / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.1463, allocations: 120.1 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007511/0.1471, allocations: 132.5 kB / 488.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.1484, allocations: 0.9198 MB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.1489, allocations: 0.8392 MB / 490 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.149, allocations: 51.36 kB / 490.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.149, allocations: 0 / 490.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Templates: time 0.01184/0.1609, allocations: 6.97 MB / 497 MB, free: 4.695 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/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_4.0.0_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches