Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",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: 103 kB / 16.27 MB, free: 5.93 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.001795/0.001796, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.641/1.641, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2516/0.2516, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.001592/0.001592, allocations: 73.27 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1399, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003525/0.1435, allocations: 1.689 MB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.146, allocations: 1.406 MB / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.1462, allocations: 8 kB / 443.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.1467, allocations: 35.78 kB / 443.8 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.1471, allocations: 59.73 kB / 443.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.1474, allocations: 83.72 kB / 443.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.1476, allocations: 99.67 kB / 444 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.1478, allocations: 12.17 kB / 444 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1479, allocations: 39.8 kB / 444.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.1481, allocations: 43.83 kB / 444.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.1481, allocations: 8 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.1483, allocations: 59.97 kB / 444.2 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.1484, allocations: 23.86 kB / 444.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.474e-05/0.1484, allocations: 31.8 kB / 444.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.1487, allocations: 111.8 kB / 444.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1488, allocations: 0 / 444.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1488, allocations: 3.938 kB / 444.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1488, allocations: 0 / 444.3 MB, free: 3.07 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005906/0.1494, allocations: 411 kB / 444.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1494, allocations: 11.89 kB / 444.7 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.1495, allocations: 34.75 kB / 444.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.1495, allocations: 8.844 kB / 444.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.1498, allocations: 205.3 kB / 445 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.1498, allocations: 4.375 kB / 445 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.1498, allocations: 7.938 kB / 445 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.15, allocations: 63.39 kB / 445.1 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.15, allocations: 4 kB / 445.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.15, allocations: 7.984 kB / 445.1 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1501, allocations: 0 / 445.1 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.675e-05/0.1501, allocations: 23.92 kB / 445.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.1505, allocations: 288.8 kB / 445.4 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.1507, allocations: 54.69 kB / 445.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.1507, allocations: 24.84 kB / 445.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.1507, allocations: 3.938 kB / 445.5 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.1509, allocations: 71.33 kB / 445.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1509, allocations: 0 / 445.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005384/0.1515, allocations: 169.3 kB / 445.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.1515, allocations: 81.05 kB / 445.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.1516, allocations: 164.8 kB / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.1517, allocations: 25.7 kB / 446 MB, free: 1.223 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.1517, allocations: 96.12 kB / 446.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.1517, allocations: 27.64 kB / 446.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.1518, allocations: 25.72 kB / 446.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.559e-05/0.1519, allocations: 322.8 kB / 446.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.1519, allocations: 15.98 kB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.672e-05/0.152, allocations: 46.56 kB / 446.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.779e-05/0.1521, allocations: 57.66 kB / 446.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1521, allocations: 0 / 446.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001625/0.1523, allocations: 105.5 kB / 446.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1523, allocations: 4 kB / 446.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1523, allocations: 0 / 446.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1523, allocations: 0 / 446.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.142e-05/0.1524, allocations: 24 kB / 446.7 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1524, allocations: 3.984 kB / 446.7 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.1525, allocations: 7.938 kB / 446.7 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1525, allocations: 0 / 446.7 MB, free: 472 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.837e-05/0.1526, allocations: 125.8 kB / 446.8 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.1526, allocations: 7.906 kB / 446.8 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.807e-05/0.1527, allocations: 20.69 kB / 446.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1527, allocations: 0 / 446.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1527, allocations: 0 / 446.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1527, allocations: 7.938 kB / 446.8 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.1532, allocations: 383.3 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1532, allocations: 4.375 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.1532, allocations: 7.984 kB / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.1532, allocations: 8.125 kB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1533, allocations: 8 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1533, allocations: 3.938 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/0.1533, allocations: 7.938 kB / 447.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.1535, allocations: 200.2 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.1536, allocations: 85.02 kB / 447.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.1536, allocations: 15.92 kB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.1537, allocations: 0 / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.1538, allocations: 4 kB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.1538, allocations: 11.98 kB / 447.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1539, allocations: 115.3 kB / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1539, allocations: 0 / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.1542, allocations: 31.98 kB / 447.7 MB, free: 15.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0017/0.1559, allocations: 1.137 MB / 448.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.1561, allocations: 63.86 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1562, allocations: 0 / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.596e-05/0.1562, allocations: 35.92 kB / 448.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1566, allocations: 26 kB / 449 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.1584, allocations: 1.54 MB / 450.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1587, allocations: 0.7002 MB / 451.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.609e-05/0.1588, allocations: 24.84 kB / 451.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.344e-05/0.1589, allocations: 31.42 kB / 451.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1589, allocations: 4 kB / 451.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.1851, allocations: 3.465 MB / 454.7 MB, free: 8.203 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/7.826, allocations: 7.875 kB / 454.7 MB, free: 8.195 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches