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.000732/0.000732, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0007298/0.0007298, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.195/1.195, allocations: 223.3 MB / 242.3 MB, free: 208 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.1674/0.1674, allocations: 44.26 MB / 337.7 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002664, allocations: 8 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09124/0.09152, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002114/0.09367, allocations: 1.961 MB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.09568, allocations: 1.524 MB / 475.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.09579, allocations: 3.938 kB / 475.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.09612, allocations: 123.6 kB / 476 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.09646, allocations: 203.2 kB / 476.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.09764, allocations: 0.5964 MB / 476.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.09809, allocations: 498.6 kB / 477.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.09823, allocations: 73.05 kB / 477.3 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.09844, allocations: 195 kB / 477.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.09865, allocations: 207 kB / 477.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.09869, allocations: 8 kB / 477.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.09889, allocations: 127.8 kB / 477.8 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.09901, allocations: 107.6 kB / 477.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.09917, allocations: 208.4 kB / 478.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.09963, allocations: 0.5374 MB / 478.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.09964, allocations: 3.984 kB / 478.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09965, allocations: 0 / 478.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.09967, allocations: 4 kB / 478.7 MB, free: 6.891 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.0009221/0.1006, allocations: 0.801 MB / 479.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1006, allocations: 12.03 kB / 479.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.1007, allocations: 50.67 kB / 479.6 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.305e-05/0.1008, allocations: 52.28 kB / 479.6 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.1013, allocations: 452.2 kB / 480.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1013, allocations: 20.55 kB / 480.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.1013, allocations: 23.92 kB / 480.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.1017, allocations: 269.3 kB / 480.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1017, allocations: 0 / 480.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.1018, allocations: 4 kB / 480.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1018, allocations: 4 kB / 480.4 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.1021, allocations: 107.9 kB / 480.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008898/0.103, allocations: 0.8756 MB / 481.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005807/0.1035, allocations: 298.5 kB / 481.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.1038, allocations: 111.4 kB / 481.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.1038, allocations: 12.16 kB / 481.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000372/0.1042, allocations: 214.6 kB / 482 MB, free: 3.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/0.1042, allocations: 0 / 482 MB, free: 3.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008193/0.105, allocations: 405.5 kB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.1051, allocations: 338.1 kB / 482.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006277/0.1058, allocations: 0.6354 MB / 483.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.1058, allocations: 37.7 kB / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.106, allocations: 224.6 kB / 483.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.744e-05/0.106, allocations: 71.17 kB / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.1061, allocations: 29.7 kB / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1062, allocations: 370.7 kB / 484 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.1064, allocations: 75.95 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.1067, allocations: 253.5 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.1071, allocations: 230.7 kB / 484.6 MB, free: 500 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.1071, allocations: 0 / 484.6 MB, free: 500 kB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005397/0.1077, allocations: 317.2 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1077, allocations: 8 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1077, allocations: 0 / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1077, allocations: 7.938 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.108, allocations: 55.89 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.108, allocations: 11.92 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.1082, allocations: 31.73 kB / 485 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.1082, allocations: 16 kB / 485 MB, free: 44 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.0002093/0.1084, allocations: 217.8 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.1085, allocations: 51.44 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.373e-05/0.1086, allocations: 55.84 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1086, allocations: 4 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1086, allocations: 0 / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1086, allocations: 4 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.1089, allocations: 405.2 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1089, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.1091, allocations: 27.97 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1091, allocations: 4 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.1091, allocations: 11.94 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1091, allocations: 8.109 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.1091, allocations: 7.938 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/0.1097, allocations: 361 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1098, allocations: 140.5 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/0.1099, allocations: 11.94 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.11, allocations: 19.98 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.1101, allocations: 31.95 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.1102, allocations: 23.92 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004441/0.1106, allocations: 470.7 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1106, allocations: 4 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003591/0.111, allocations: 95.91 kB / 486.9 MB, free: 14.03 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.001676/0.1127, allocations: 1.261 MB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004792/0.1132, allocations: 227.6 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1132, allocations: 4 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.1135, allocations: 163.8 kB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.1142, allocations: 139.1 kB / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/0.119, allocations: 4.349 MB / 493.1 MB, free: 7.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1194, allocations: 0.8392 MB / 493.9 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002129/0.1196, allocations: 91.19 kB / 494 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.1198, allocations: 163.4 kB / 494.2 MB, free: 6.75 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1198, allocations: 0 / 494.2 MB, free: 6.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.1426, allocations: 11.54 MB / 0.4939 GB, free: 11.36 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.1429, allocations: 227.2 kB / 0.4941 GB, free: 11.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.049, allocations: 11.81 kB / 0.4941 GB, free: 11.1 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