Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",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.001159/0.001159, allocations: 103.8 kB / 15.98 MB, free: 6.352 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.001333/0.001333, allocations: 190.5 kB / 16.91 MB, free: 6.191 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.702/1.702, allocations: 205.1 MB / 222.8 MB, free: 4.715 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.4038/0.4038, allocations: 43.5 MB / 313.6 MB, free: 8.512 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.001943/0.001943, allocations: 71.91 kB / 382.3 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1573, allocations: 57.78 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003907/0.1612, allocations: 1.753 MB / 441.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1626, allocations: 0.7924 MB / 442.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.1627, allocations: 0 / 442.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.163, allocations: 39.89 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1632, allocations: 51.77 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.1635, allocations: 87.83 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1636, allocations: 91.7 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.1637, allocations: 20.22 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.646e-05/0.1638, allocations: 43.77 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.868e-05/0.1639, allocations: 31.86 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1639, allocations: 4 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.689e-05/0.164, allocations: 47.97 kB / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.1641, allocations: 19.92 kB / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.155e-05/0.1641, allocations: 43.61 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1643, allocations: 119.9 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1643, allocations: 0 / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1643, allocations: 3.938 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1644, allocations: 4 kB / 443.3 MB, free: 11.46 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005169/0.1649, allocations: 426.8 kB / 443.7 MB, free: 11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1649, allocations: 15.89 kB / 443.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.165, allocations: 30.75 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.165, allocations: 8.844 kB / 443.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.1652, allocations: 223.9 kB / 443.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1652, allocations: 8.312 kB / 443.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.1653, allocations: 3.938 kB / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.1654, allocations: 57.67 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1654, allocations: 0 / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.1655, allocations: 4 kB / 444 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1655, allocations: 3.984 kB / 444 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.174e-05/0.1655, allocations: 15.98 kB / 444 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.1659, allocations: 292.9 kB / 444.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.1661, allocations: 58.62 kB / 444.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.1662, allocations: 20.84 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.1662, allocations: 4 kB / 444.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.1664, allocations: 63.39 kB / 444.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1664, allocations: 0 / 444.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005125/0.1669, allocations: 193.1 kB / 444.7 MB, free: 9.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.167, allocations: 51.41 kB / 444.7 MB, free: 9.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.1672, allocations: 222.6 kB / 444.9 MB, free: 9.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1672, allocations: 25.7 kB / 444.9 MB, free: 9.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.1673, allocations: 108.1 kB / 445 MB, free: 9.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.1673, allocations: 23.66 kB / 445.1 MB, free: 9.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.1674, allocations: 25.7 kB / 445.1 MB, free: 9.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1675, allocations: 326.8 kB / 445.4 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.453e-05/0.1675, allocations: 23.94 kB / 445.4 MB, free: 9.047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.066e-05/0.1676, allocations: 37.7 kB / 445.5 MB, free: 9.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1677, allocations: 53.7 kB / 445.5 MB, free: 8.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1677, allocations: 384 / 445.5 MB, free: 8.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001744/0.1679, allocations: 109.4 kB / 445.6 MB, free: 8.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1679, allocations: 7.984 kB / 445.6 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.168, allocations: 4.031 kB / 445.6 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.168, allocations: 0 / 445.6 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.168, allocations: 20.19 kB / 445.7 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1681, allocations: 0 / 445.7 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.1681, allocations: 11.88 kB / 445.7 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1681, allocations: 7.984 kB / 445.7 MB, free: 8.781 MB / 382.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 9.367e-05/0.1682, allocations: 125.8 kB / 445.8 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.1683, allocations: 11.91 kB / 445.8 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.766e-05/0.1683, allocations: 17.39 kB / 445.8 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.1683, allocations: 8 kB / 445.8 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.1683, allocations: 0 / 445.8 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1683, allocations: 3.938 kB / 445.9 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.1687, allocations: 403.2 kB / 446.2 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1688, allocations: 0 / 446.2 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.1688, allocations: 8 kB / 446.3 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1688, allocations: 3.938 kB / 446.3 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.1688, allocations: 4 kB / 446.3 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1688, allocations: 4.031 kB / 446.3 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1688, allocations: 0 / 446.3 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.169, allocations: 204.2 kB / 446.5 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.1691, allocations: 92.91 kB / 446.6 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.1691, allocations: 7.938 kB / 446.6 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.1692, allocations: 0 / 446.6 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.1692, allocations: 15.98 kB / 446.6 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1692, allocations: 4 kB / 446.6 MB, free: 7.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.1694, allocations: 172.3 kB / 446.7 MB, free: 7.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1694, allocations: 0 / 446.7 MB, free: 7.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.1696, allocations: 23.98 kB / 446.8 MB, free: 7.586 MB / 382.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.001411/0.1711, allocations: 1.106 MB / 447.9 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.1712, allocations: 63.91 kB / 447.9 MB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.1712, allocations: 4.062 kB / 447.9 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.427e-05/0.1713, allocations: 23.98 kB / 448 MB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.1716, allocations: 43.22 kB / 448 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.1736, allocations: 1.735 MB / 449.7 MB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.174, allocations: 0.708 MB / 450.5 MB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.084e-05/0.1741, allocations: 21.12 kB / 450.5 MB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.478e-05/0.1741, allocations: 43.41 kB / 450.5 MB, free: 3.746 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1741, allocations: 0 / 450.5 MB, free: 3.746 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01316/0.1873, allocations: 3.343 MB / 453.9 MB, free: 392 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.1875, allocations: 246.6 kB / 454.1 MB, free: 120 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/1.995, allocations: 4 kB / 454.1 MB, free: 116 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches