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: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 100.3 kB / 16.27 MB, free: 6.41 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.001465/0.001465, allocations: 188.6 kB / 17.19 MB, free: 5.949 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.66/1.66, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2259/0.2259, allocations: 43.52 MB / 313.9 MB, free: 0.5156 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.001769/0.001769, allocations: 71.88 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1179, allocations: 57.78 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004158/0.1221, allocations: 2.28 MB / 442.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.1244, allocations: 1.458 MB / 444.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/0.1248, allocations: 7.938 kB / 444.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.1253, allocations: 135.3 kB / 444.5 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005724/0.126, allocations: 226.9 kB / 444.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.1275, allocations: 0.6067 MB / 445.3 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005979/0.1281, allocations: 0.526 MB / 445.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.1283, allocations: 77.28 kB / 445.9 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003302/0.1286, allocations: 223.1 kB / 446.1 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.1289, allocations: 211.1 kB / 446.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.614e-05/0.1289, allocations: 31.94 kB / 446.4 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.1292, allocations: 155.8 kB / 446.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.1294, allocations: 131.5 kB / 446.7 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.1296, allocations: 198.8 kB / 446.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006366/0.1302, allocations: 0.5568 MB / 447.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1302, allocations: 3.984 kB / 447.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1302, allocations: 0 / 447.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.1303, allocations: 0 / 447.4 MB, free: 15.98 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.001548/0.1318, allocations: 0.8942 MB / 448.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1319, allocations: 11.89 kB / 448.3 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.75e-05/0.132, allocations: 46.75 kB / 448.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.1321, allocations: 60.27 kB / 448.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007727/0.1329, allocations: 456.1 kB / 448.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.1329, allocations: 16.59 kB / 448.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.133, allocations: 15.94 kB / 448.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005036/0.1335, allocations: 262.7 kB / 449.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1335, allocations: 0 / 449.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.1335, allocations: 8 kB / 449.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1335, allocations: 8 kB / 449.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003166/0.1339, allocations: 107.9 kB / 449.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.135, allocations: 0.8834 MB / 450.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000705/0.1357, allocations: 294.6 kB / 450.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.136, allocations: 107.3 kB / 450.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.136, allocations: 8 kB / 450.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005148/0.1365, allocations: 220.8 kB / 450.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.044e-06/0.1365, allocations: 0 / 450.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009928/0.1375, allocations: 404.8 kB / 451.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/0.1377, allocations: 342.1 kB / 451.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007957/0.1385, allocations: 0.6316 MB / 452.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.1386, allocations: 33.7 kB / 452.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.1388, allocations: 228.5 kB / 452.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.339e-05/0.1389, allocations: 55.2 kB / 452.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.139, allocations: 65.69 kB / 452.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.1392, allocations: 366.8 kB / 452.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.1394, allocations: 83.94 kB / 452.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.1398, allocations: 257.9 kB / 453.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.1403, allocations: 226.8 kB / 453.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.1403, allocations: 4 kB / 453.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007103/0.141, allocations: 308.8 kB / 453.7 MB, free: 9.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.1411, allocations: 11.98 kB / 453.7 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.1411, allocations: 0 / 453.7 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.487e-05/0.1411, allocations: 7.938 kB / 453.7 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.1414, allocations: 55.84 kB / 453.8 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.1414, allocations: 4 kB / 453.8 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.1417, allocations: 40.11 kB / 453.8 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.1417, allocations: 8 kB / 453.8 MB, free: 9.027 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.000305/0.142, allocations: 225.7 kB / 454.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.1422, allocations: 47.44 kB / 454.1 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.1423, allocations: 63.83 kB / 454.2 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.1423, allocations: 4 kB / 454.2 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.1424, allocations: 3.938 kB / 454.2 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.1424, allocations: 3.984 kB / 454.2 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.143, allocations: 413.2 kB / 454.6 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.143, allocations: 4 kB / 454.6 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.1432, allocations: 19.98 kB / 454.6 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.1432, allocations: 4 kB / 454.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.368e-05/0.1433, allocations: 15.92 kB / 454.6 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.1433, allocations: 4 kB / 454.6 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1434, allocations: 0 / 454.6 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/0.1441, allocations: 362.7 kB / 455 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.1442, allocations: 132.5 kB / 455.1 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.497e-05/0.1443, allocations: 11.94 kB / 455.1 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.1445, allocations: 19.97 kB / 455.2 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.1446, allocations: 35.97 kB / 455.2 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/0.1446, allocations: 19.98 kB / 455.2 MB, free: 7.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006526/0.1453, allocations: 462.8 kB / 455.7 MB, free: 7.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1453, allocations: 7.938 kB / 455.7 MB, free: 7.098 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005214/0.1458, allocations: 91.98 kB / 455.8 MB, free: 7.008 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.002761/0.1486, allocations: 1.258 MB / 457 MB, free: 5.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006329/0.1493, allocations: 239.6 kB / 457.3 MB, free: 5.551 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.1493, allocations: 0 / 457.3 MB, free: 5.551 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.1497, allocations: 172 kB / 457.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.1504, allocations: 155.5 kB / 457.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005853/0.1563, allocations: 4.26 MB / 461.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.1568, allocations: 0.8389 MB / 462.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002644/0.1571, allocations: 91.19 kB / 462.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.1573, allocations: 163.4 kB / 462.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1573, allocations: 0 / 462.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05122/0.2085, allocations: 12.29 MB / 475.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.517, allocations: 11.94 kB / 475.2 MB, free: 3.383 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegerTable.fmu > 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