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: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_0_0_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.001575/0.001575, allocations: 107.1 kB / 17.33 MB, free: 6.023 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.001816/0.001816, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.504/1.504, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.2358/0.2358, allocations: 44.18 MB / 336.2 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 66.64 kB / 408 MB, free: 27.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1165, allocations: 60.82 MB / 468.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003356/0.1199, allocations: 2.313 MB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.1222, allocations: 1.547 MB / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.1224, allocations: 7.938 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.1228, allocations: 119.6 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.1232, allocations: 207.2 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.1246, allocations: 0.6105 MB / 473.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000549/0.1252, allocations: 0.526 MB / 474.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.1253, allocations: 81.05 kB / 474.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.1256, allocations: 231 kB / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.1258, allocations: 219 kB / 474.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.1259, allocations: 28 kB / 474.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000239/0.1262, allocations: 147.8 kB / 474.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.1263, allocations: 135.5 kB / 475 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.1265, allocations: 198.7 kB / 475.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005342/0.127, allocations: 0.5688 MB / 475.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.127, allocations: 4 kB / 475.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.127, allocations: 0 / 475.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.1271, allocations: 0 / 475.7 MB, free: 7.73 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.001166/0.1282, allocations: 0.8825 MB / 476.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1283, allocations: 8.031 kB / 476.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.1283, allocations: 46.73 kB / 476.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.1284, allocations: 56.28 kB / 476.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.129, allocations: 468.1 kB / 477.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.129, allocations: 16.61 kB / 477.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.1291, allocations: 11.94 kB / 477.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.1295, allocations: 265.3 kB / 477.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1295, allocations: 0 / 477.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.1295, allocations: 8 kB / 477.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1295, allocations: 4 kB / 477.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.1298, allocations: 107.9 kB / 477.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.1309, allocations: 0.8757 MB / 478.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.1315, allocations: 298.5 kB / 478.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.1317, allocations: 107.4 kB / 478.9 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.1317, allocations: 4 kB / 478.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004078/0.1322, allocations: 216.2 kB / 479.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.714e-06/0.1322, allocations: 0 / 479.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008438/0.133, allocations: 408.9 kB / 479.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.1332, allocations: 346.1 kB / 479.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006347/0.1338, allocations: 0.6393 MB / 480.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.1338, allocations: 37.7 kB / 480.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.134, allocations: 216.6 kB / 480.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.1341, allocations: 71.17 kB / 480.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.534e-05/0.1342, allocations: 69.62 kB / 480.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1343, allocations: 358.8 kB / 481.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.1345, allocations: 87.94 kB / 481.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.1348, allocations: 249.5 kB / 481.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.1352, allocations: 231.5 kB / 481.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1352, allocations: 0 / 481.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000618/0.1358, allocations: 320.8 kB / 482 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1359, allocations: 4 kB / 482.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1359, allocations: 4 kB / 482.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1359, allocations: 7.938 kB / 482.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.1361, allocations: 55.91 kB / 482.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1361, allocations: 4 kB / 482.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.1363, allocations: 31.77 kB / 482.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.1364, allocations: 20.11 kB / 482.2 MB, free: 0.7734 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.0002144/0.1366, allocations: 213.7 kB / 482.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.1367, allocations: 51.34 kB / 482.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.455e-05/0.1368, allocations: 63.84 kB / 482.5 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1368, allocations: 0 / 482.5 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1368, allocations: 4.25 kB / 482.5 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.1368, allocations: 3.984 kB / 482.5 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.1372, allocations: 409.2 kB / 482.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1372, allocations: 0 / 482.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1373, allocations: 31.98 kB / 482.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.1373, allocations: 4 kB / 482.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.1373, allocations: 11.92 kB / 482.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1373, allocations: 0 / 482.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1374, allocations: 4 kB / 483 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005884/0.1379, allocations: 358.8 kB / 483.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.431e-05/0.1381, allocations: 128.5 kB / 483.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.1381, allocations: 15.92 kB / 483.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.1383, allocations: 19.92 kB / 483.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/0.1384, allocations: 31.97 kB / 483.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.1384, allocations: 15.98 kB / 483.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004528/0.1389, allocations: 466.8 kB / 484 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1389, allocations: 4 kB / 484 MB, free: 14.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003794/0.1393, allocations: 99.91 kB / 484.1 MB, free: 14.77 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.00179/0.1411, allocations: 1.259 MB / 485.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005302/0.1416, allocations: 239.6 kB / 485.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1416, allocations: 4 kB / 485.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.142, allocations: 168.4 kB / 485.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006276/0.1426, allocations: 159.5 kB / 485.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/0.1477, allocations: 4.345 MB / 490.2 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.1481, allocations: 0.835 MB / 491.1 MB, free: 7.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.1483, allocations: 91.19 kB / 491.2 MB, free: 7.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.1485, allocations: 171.3 kB / 491.3 MB, free: 7.465 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1485, allocations: 0 / 491.3 MB, free: 7.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.027/2.175, allocations: 12.08 MB / 0.4916 GB, free: 11.54 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/2.175, allocations: 226.5 kB / 0.4918 GB, free: 11.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/4.529, allocations: 4 kB / 0.4918 GB, free: 11.28 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable.fmu > 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