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.001412/0.001412, allocations: 99.27 kB / 15.98 MB, free: 6.332 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.001376/0.001377, allocations: 193.9 kB / 16.9 MB, free: 6.184 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.441/1.441, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.3059/0.3059, allocations: 43.5 MB / 313.6 MB, free: 8.48 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.001554/0.001554, allocations: 59.91 kB / 382.3 MB, free: 8.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.105, allocations: 57.78 MB / 440.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003635/0.1087, allocations: 2.324 MB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.111, allocations: 1.443 MB / 443.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.1112, allocations: 3.938 kB / 443.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.1117, allocations: 123.6 kB / 444 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000541/0.1123, allocations: 203.2 kB / 444.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.1137, allocations: 0.5772 MB / 444.8 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005958/0.1143, allocations: 0.522 MB / 445.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.1145, allocations: 85.28 kB / 445.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.1148, allocations: 235 kB / 445.6 MB, free: 9.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.1151, allocations: 219 kB / 445.8 MB, free: 8.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.499e-05/0.1152, allocations: 24 kB / 445.8 MB, free: 8.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002832/0.1155, allocations: 159.8 kB / 446 MB, free: 8.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.1156, allocations: 135.5 kB / 446.1 MB, free: 8.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.1158, allocations: 202.7 kB / 446.3 MB, free: 8.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006321/0.1164, allocations: 0.5607 MB / 446.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1165, allocations: 0 / 446.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1165, allocations: 0 / 446.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1165, allocations: 0 / 446.9 MB, free: 7.832 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.001246/0.1177, allocations: 0.8903 MB / 447.8 MB, free: 6.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.1178, allocations: 11.89 kB / 447.8 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.337e-05/0.1179, allocations: 50.73 kB / 447.8 MB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.118, allocations: 52.38 kB / 447.9 MB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005679/0.1186, allocations: 471.9 kB / 448.3 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.1186, allocations: 12.61 kB / 448.4 MB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.1186, allocations: 15.94 kB / 448.4 MB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.1191, allocations: 257.4 kB / 448.6 MB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1191, allocations: 4 kB / 448.6 MB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.1192, allocations: 4 kB / 448.6 MB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1192, allocations: 4 kB / 448.6 MB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.1195, allocations: 115.9 kB / 448.8 MB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.1205, allocations: 0.8717 MB / 449.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006581/0.1212, allocations: 298.5 kB / 449.9 MB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.1215, allocations: 107.3 kB / 450 MB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.1215, allocations: 12.16 kB / 450 MB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005295/0.122, allocations: 226.4 kB / 450.3 MB, free: 4.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.1221, allocations: 0 / 450.3 MB, free: 4.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009412/0.123, allocations: 400.8 kB / 450.6 MB, free: 3.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.1232, allocations: 350.1 kB / 451 MB, free: 3.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/0.1239, allocations: 0.6316 MB / 451.6 MB, free: 2.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.1239, allocations: 33.7 kB / 451.6 MB, free: 2.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.1241, allocations: 228.5 kB / 451.9 MB, free: 2.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.572e-05/0.1242, allocations: 63.19 kB / 451.9 MB, free: 2.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-05/0.1243, allocations: 65.69 kB / 452 MB, free: 2.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1244, allocations: 362.8 kB / 452.4 MB, free: 1.934 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.1246, allocations: 79.95 kB / 452.4 MB, free: 1.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.125, allocations: 253.1 kB / 452.7 MB, free: 1.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.1254, allocations: 227.7 kB / 452.9 MB, free: 1.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1254, allocations: 4 kB / 452.9 MB, free: 1.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006085/0.126, allocations: 312.8 kB / 453.2 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.126, allocations: 8 kB / 453.2 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1261, allocations: 0 / 453.2 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.1261, allocations: 7.938 kB / 453.2 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.1264, allocations: 55.91 kB / 453.3 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.1264, allocations: 4 kB / 453.3 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.1266, allocations: 31.95 kB / 453.3 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.1266, allocations: 12.25 kB / 453.3 MB, free: 0.8672 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.0002238/0.1269, allocations: 217.7 kB / 453.5 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-05/0.127, allocations: 51.34 kB / 453.6 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.61e-05/0.1271, allocations: 63.84 kB / 453.7 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.1271, allocations: 4 kB / 453.7 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1271, allocations: 0 / 453.7 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1271, allocations: 3.984 kB / 453.7 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.1275, allocations: 413.2 kB / 454.1 MB, free: 72 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1275, allocations: 0 / 454.1 MB, free: 72 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.1276, allocations: 27.92 kB / 454.1 MB, free: 44 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1276, allocations: 0 / 454.1 MB, free: 44 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.1277, allocations: 11.92 kB / 454.1 MB, free: 32 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1277, allocations: 4 kB / 454.1 MB, free: 28 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1277, allocations: 0 / 454.1 MB, free: 28 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1674/0.2951, allocations: 363.1 kB / 454.5 MB, free: 49.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/0.2952, allocations: 126.3 kB / 454.6 MB, free: 48.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-05/0.2953, allocations: 19.52 kB / 454.6 MB, free: 48.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.2955, allocations: 13.89 kB / 454.6 MB, free: 48.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.2956, allocations: 33 kB / 454.6 MB, free: 48.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.2956, allocations: 21.67 kB / 454.7 MB, free: 48.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004532/0.2961, allocations: 462.5 kB / 455.1 MB, free: 48.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2961, allocations: 0 / 455.1 MB, free: 48.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004241/0.2965, allocations: 99.06 kB / 455.2 MB, free: 48.84 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.001588/0.2981, allocations: 1.25 MB / 456.5 MB, free: 48.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004925/0.2986, allocations: 233.3 kB / 456.7 MB, free: 48.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2986, allocations: 5.125 kB / 456.7 MB, free: 48.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.2989, allocations: 178.8 kB / 456.9 MB, free: 48.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006179/0.2995, allocations: 144.2 kB / 457 MB, free: 48.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/0.3039, allocations: 4.36 MB / 461.4 MB, free: 46.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.3041, allocations: 0.8387 MB / 462.2 MB, free: 45.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002432/0.3044, allocations: 87.58 kB / 462.3 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.3046, allocations: 166.5 kB / 462.5 MB, free: 45.62 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3046, allocations: 0 / 462.5 MB, free: 45.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.427/0.7316, allocations: 12.09 MB / 474.6 MB, free: 44.29 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.7318, allocations: 227.2 kB / 474.8 MB, free: 44.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/3.05, allocations: 0 / 474.8 MB, free: 44.03 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