Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",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.001181/0.001181, allocations: 107 kB / 17.33 MB, free: 6 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.001306/0.001306, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.469/1.469, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.2498/0.2498, allocations: 44.18 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 65.31 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1612, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003689/0.1649, allocations: 1.714 MB / 470.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1662, allocations: 0.842 MB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.1663, allocations: 3.938 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.1667, allocations: 63.86 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.167, allocations: 55.8 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1672, allocations: 103 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.1674, allocations: 91.7 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.1675, allocations: 7.984 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.485e-05/0.1676, allocations: 47.78 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1677, allocations: 39.84 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1677, allocations: 4 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.454e-05/0.1678, allocations: 39.97 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.442e-05/0.1678, allocations: 23.86 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.1679, allocations: 27.81 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.1681, allocations: 99.91 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1681, allocations: 8 kB / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1681, allocations: 0 / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1681, allocations: 0 / 472 MB, free: 11.44 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005609/0.1687, allocations: 391 kB / 472.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1687, allocations: 15.97 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.1688, allocations: 38.75 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.1688, allocations: 12.83 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.1691, allocations: 208 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1691, allocations: 384 / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.1691, allocations: 3.938 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1693, allocations: 49.67 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1693, allocations: 0 / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.1693, allocations: 3.938 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1693, allocations: 0 / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.815e-05/0.1694, allocations: 19.98 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.1696, allocations: 185.6 kB / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.1698, allocations: 62.48 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.1698, allocations: 16.86 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1699, allocations: 0 / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.1701, allocations: 67.39 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.1701, allocations: 0 / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002837/0.1704, allocations: 101.5 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.1704, allocations: 51.41 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.1706, allocations: 186.1 kB / 473.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1706, allocations: 25.7 kB / 473.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.1707, allocations: 100.1 kB / 473.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.1707, allocations: 15.81 kB / 473.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.1707, allocations: 25.7 kB / 473.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1709, allocations: 322.8 kB / 473.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.777e-05/0.1709, allocations: 12 kB / 473.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-05/0.171, allocations: 29.7 kB / 473.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.932e-05/0.1711, allocations: 45.7 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1711, allocations: 11.88 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001396/0.1712, allocations: 73.59 kB / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1713, allocations: 10.5 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1713, allocations: 0 / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1713, allocations: 0 / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.1714, allocations: 16.25 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.1714, allocations: 7.984 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.1714, allocations: 4 kB / 474.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1715, allocations: 4 kB / 474.1 MB, free: 9.125 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0001061/0.1716, allocations: 132.3 kB / 474.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.1716, allocations: 15.8 kB / 474.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.1716, allocations: 12.31 kB / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1716, allocations: 0 / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1716, allocations: 0 / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1717, allocations: 7.938 kB / 474.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.1718, allocations: 185.5 kB / 474.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1718, allocations: 3.938 kB / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.127e-05/0.1718, allocations: 7.984 kB / 474.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1718, allocations: 0 / 474.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1719, allocations: 8 kB / 474.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1719, allocations: 0 / 474.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1719, allocations: 0 / 474.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.1721, allocations: 112.9 kB / 474.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.1721, allocations: 85.02 kB / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.1721, allocations: 0 / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.296e-05/0.1722, allocations: 0 / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.1722, allocations: 11.98 kB / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1722, allocations: 0 / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.1723, allocations: 143.2 kB / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1724, allocations: 0 / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002046/0.1726, allocations: 20 kB / 474.8 MB, free: 8.297 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00124/0.1738, allocations: 0.9439 MB / 475.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.174, allocations: 43.98 kB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.174, allocations: 0 / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.933e-05/0.174, allocations: 27.86 kB / 475.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.1743, allocations: 27.98 kB / 475.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.1758, allocations: 1.484 MB / 477.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.1761, allocations: 0.7002 MB / 478 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.84e-05/0.1761, allocations: 16.8 kB / 478 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.1762, allocations: 35.42 kB / 478.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1762, allocations: 3.938 kB / 478.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.1898, allocations: 2.903 MB / 481 MB, free: 2.234 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.1901, allocations: 233.4 kB / 481.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.017, allocations: 3.938 kB / 481.2 MB, free: 1.977 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches