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.001254/0.001254, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 203 kB / 16.79 MB, free: 6.84 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.376/1.376, allocations: 205.1 MB / 222.6 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3038/0.3038, allocations: 43.5 MB / 313.5 MB, free: 8.273 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.001328/0.001328, allocations: 74.55 kB / 382.1 MB, free: 8.426 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1033, allocations: 57.78 MB / 439.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003491/0.1069, allocations: 2.32 MB / 442.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.109, allocations: 1.451 MB / 443.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.1091, allocations: 3.938 kB / 443.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004622/0.1096, allocations: 119.6 kB / 443.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.11, allocations: 207.2 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.1113, allocations: 0.5772 MB / 444.6 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005425/0.1119, allocations: 494.6 kB / 445.1 MB, free: 9.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.1121, allocations: 77.28 kB / 445.1 MB, free: 9.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.1123, allocations: 199 kB / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.1126, allocations: 207 kB / 445.5 MB, free: 8.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.1126, allocations: 12 kB / 445.6 MB, free: 8.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.1129, allocations: 127.8 kB / 445.7 MB, free: 8.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.113, allocations: 115.5 kB / 445.8 MB, free: 8.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.1132, allocations: 194.7 kB / 446 MB, free: 8.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.1137, allocations: 0.5451 MB / 446.5 MB, free: 7.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1137, allocations: 0 / 446.5 MB, free: 7.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1137, allocations: 0 / 446.5 MB, free: 7.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1137, allocations: 0 / 446.5 MB, free: 7.887 MB / 382.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.001095/0.1148, allocations: 0.8865 MB / 447.4 MB, free: 6.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1149, allocations: 8.031 kB / 447.4 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.537e-05/0.1149, allocations: 50.73 kB / 447.5 MB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.74e-05/0.115, allocations: 60.3 kB / 447.5 MB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005485/0.1156, allocations: 467.9 kB / 448 MB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.1156, allocations: 20.59 kB / 448 MB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.1157, allocations: 11.94 kB / 448 MB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.1161, allocations: 265.3 kB / 448.3 MB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1161, allocations: 0 / 448.3 MB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.1162, allocations: 8 kB / 448.3 MB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1162, allocations: 4 kB / 448.3 MB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.1165, allocations: 107.9 kB / 448.4 MB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.1175, allocations: 0.8719 MB / 449.3 MB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006239/0.1182, allocations: 298.5 kB / 449.6 MB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.1184, allocations: 107.4 kB / 449.7 MB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1184, allocations: 4 kB / 449.7 MB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004433/0.1189, allocations: 222.4 kB / 449.9 MB, free: 4.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.904e-06/0.1189, allocations: 0 / 449.9 MB, free: 4.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.00093/0.1198, allocations: 409.7 kB / 450.3 MB, free: 3.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.12, allocations: 346.1 kB / 450.6 MB, free: 3.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006617/0.1207, allocations: 0.6316 MB / 451.2 MB, free: 2.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.1207, allocations: 37.7 kB / 451.3 MB, free: 2.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.1209, allocations: 220.5 kB / 451.5 MB, free: 2.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.53e-05/0.121, allocations: 71.25 kB / 451.6 MB, free: 2.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.889e-05/0.121, allocations: 65.69 kB / 451.6 MB, free: 2.359 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1212, allocations: 358.8 kB / 452 MB, free: 2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.1214, allocations: 87.95 kB / 452.1 MB, free: 1.914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.1217, allocations: 245 kB / 452.3 MB, free: 1.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.1222, allocations: 226.8 kB / 452.5 MB, free: 1.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1222, allocations: 0 / 452.5 MB, free: 1.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000598/0.1228, allocations: 316.9 kB / 452.8 MB, free: 1.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1228, allocations: 4 kB / 452.8 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1228, allocations: 4 kB / 452.9 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1228, allocations: 11.92 kB / 452.9 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.1231, allocations: 55.91 kB / 452.9 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1231, allocations: 12.11 kB / 452.9 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.1233, allocations: 27.83 kB / 453 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.1233, allocations: 8 kB / 453 MB, free: 0.9297 MB / 382.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.0002185/0.1235, allocations: 221.7 kB / 453.2 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.337e-05/0.1236, allocations: 51.34 kB / 453.2 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.675e-05/0.1237, allocations: 67.78 kB / 453.3 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1237, allocations: 0 / 453.3 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.1238, allocations: 4 kB / 453.3 MB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1238, allocations: 4 kB / 453.3 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.1242, allocations: 409.2 kB / 453.7 MB, free: 132 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1242, allocations: 3.938 kB / 453.7 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.1243, allocations: 27.98 kB / 453.7 MB, free: 100 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1243, allocations: 4 kB / 453.7 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.1244, allocations: 12.11 kB / 453.8 MB, free: 84 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1244, allocations: 4 kB / 453.8 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1244, allocations: 4 kB / 453.8 MB, free: 76 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1564/0.2808, allocations: 358.1 kB / 454.1 MB, free: 49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-05/0.2809, allocations: 128.4 kB / 454.2 MB, free: 48.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.798e-05/0.281, allocations: 16.3 kB / 454.2 MB, free: 48.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.2812, allocations: 12.19 kB / 454.3 MB, free: 48.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.2813, allocations: 41.39 kB / 454.3 MB, free: 48.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.2813, allocations: 20.8 kB / 454.3 MB, free: 48.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004147/0.2817, allocations: 463 kB / 454.8 MB, free: 48.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2817, allocations: 0 / 454.8 MB, free: 48.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003958/0.2821, allocations: 95.53 kB / 454.9 MB, free: 48.82 MB / 382.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.001548/0.2837, allocations: 1.232 MB / 456.1 MB, free: 48.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004891/0.2842, allocations: 227.9 kB / 456.3 MB, free: 48.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2842, allocations: 4.531 kB / 456.3 MB, free: 48.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002932/0.2845, allocations: 168.4 kB / 456.5 MB, free: 48.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006011/0.2851, allocations: 144.1 kB / 456.6 MB, free: 48.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004249/0.2894, allocations: 4.352 MB / 461 MB, free: 46.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.2896, allocations: 0.8394 MB / 461.8 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000215/0.2898, allocations: 90.89 kB / 461.9 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.29, allocations: 170 kB / 462.1 MB, free: 45.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.29, allocations: 0 / 462.1 MB, free: 45.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.31, allocations: 11.81 MB / 473.9 MB, free: 44.3 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001273/0.3102, allocations: 226.4 kB / 474.1 MB, free: 44.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/2.391, allocations: 0 / 474.1 MB, free: 44.05 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches