Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",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.001332/0.001332, allocations: 98.09 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.001457/0.001457, allocations: 195.1 kB / 16.91 MB, free: 6.195 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.779/1.779, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.3787/0.3787, allocations: 43.5 MB / 313.6 MB, free: 8.477 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.001696/0.001696, allocations: 67.89 kB / 382.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1514, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003982/0.1554, allocations: 1.972 MB / 442.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.157, allocations: 0.8196 MB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.1571, allocations: 8 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.1575, allocations: 35.83 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.1578, allocations: 47.78 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.1582, allocations: 99.81 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.1585, allocations: 131.6 kB / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1586, allocations: 41.62 kB / 443.3 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1587, allocations: 55.72 kB / 443.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.649e-05/0.1588, allocations: 51.7 kB / 443.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.1589, allocations: 4 kB / 443.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.159, allocations: 51.97 kB / 443.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.63e-05/0.1591, allocations: 23.92 kB / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.203e-05/0.1592, allocations: 51.61 kB / 443.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.1595, allocations: 143.5 kB / 443.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1595, allocations: 4 kB / 443.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1595, allocations: 0 / 443.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1595, allocations: 7.938 kB / 443.6 MB, free: 11.05 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007088/0.1602, allocations: 472.5 kB / 444.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1603, allocations: 15.89 kB / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.996e-05/0.1603, allocations: 38.73 kB / 444.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/0.1604, allocations: 16.75 kB / 444.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.1607, allocations: 220.8 kB / 444.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1607, allocations: 12.38 kB / 444.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.1607, allocations: 7.938 kB / 444.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.161, allocations: 108.2 kB / 444.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.161, allocations: 0 / 444.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.161, allocations: 4 kB / 444.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-06/0.1611, allocations: 4 kB / 444.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.1612, allocations: 47.91 kB / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.1618, allocations: 0.5125 MB / 445.1 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.1622, allocations: 94.66 kB / 445.2 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.96e-05/0.1623, allocations: 40.83 kB / 445.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.1623, allocations: 0 / 445.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002886/0.1626, allocations: 83.31 kB / 445.3 MB, free: 9.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.744e-06/0.1627, allocations: 0 / 445.3 MB, free: 9.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004482/0.1631, allocations: 145.4 kB / 445.4 MB, free: 9.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1632, allocations: 59.39 kB / 445.5 MB, free: 8.984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.1634, allocations: 187.4 kB / 445.7 MB, free: 8.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.1634, allocations: 33.7 kB / 445.7 MB, free: 8.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.185e-05/0.1635, allocations: 112 kB / 445.8 MB, free: 8.641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.1636, allocations: 31.64 kB / 445.9 MB, free: 8.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.1636, allocations: 29.72 kB / 445.9 MB, free: 8.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1638, allocations: 330.8 kB / 446.2 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.697e-05/0.1639, allocations: 27.97 kB / 446.2 MB, free: 8.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.164, allocations: 60.66 kB / 446.3 MB, free: 8.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.1642, allocations: 104.1 kB / 446.4 MB, free: 8.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1643, allocations: 0 / 446.4 MB, free: 8.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002889/0.1645, allocations: 137.3 kB / 446.5 MB, free: 7.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1646, allocations: 8 kB / 446.5 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1646, allocations: 128 / 446.5 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.1646, allocations: 7.938 kB / 446.5 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.903e-05/0.1647, allocations: 23.98 kB / 446.6 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.1647, allocations: 3.938 kB / 446.6 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.25e-05/0.1648, allocations: 15.91 kB / 446.6 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1648, allocations: 4 kB / 446.6 MB, free: 7.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000144/0.165, allocations: 125.8 kB / 446.7 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.165, allocations: 15.81 kB / 446.7 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.605e-05/0.1651, allocations: 13.41 kB / 446.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1651, allocations: 7.938 kB / 446.7 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.1651, allocations: 3.984 kB / 446.8 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1651, allocations: 3.938 kB / 446.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.1654, allocations: 213.5 kB / 447 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1654, allocations: 0 / 447 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.079e-05/0.1655, allocations: 12 kB / 447 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.1655, allocations: 0 / 447 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1655, allocations: 3.938 kB / 447 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.1655, allocations: 7.922 kB / 447 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1655, allocations: 4 kB / 447 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.1659, allocations: 184.9 kB / 447.2 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-05/0.166, allocations: 85.02 kB / 447.3 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.166, allocations: 4 kB / 447.3 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/0.1661, allocations: 11.92 kB / 447.3 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.1662, allocations: 11.98 kB / 447.3 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1662, allocations: 4 kB / 447.3 MB, free: 7.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1664, allocations: 141.3 kB / 447.4 MB, free: 6.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1664, allocations: 0 / 447.4 MB, free: 6.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1666, allocations: 36.02 kB / 447.5 MB, free: 6.852 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001694/0.1683, allocations: 1.017 MB / 448.5 MB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.1686, allocations: 87.77 kB / 448.6 MB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1686, allocations: 0 / 448.6 MB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.666e-05/0.1687, allocations: 35.92 kB / 448.6 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.1691, allocations: 47.7 kB / 448.6 MB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.1712, allocations: 1.769 MB / 450.4 MB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.1715, allocations: 0.7201 MB / 451.1 MB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.936e-05/0.1716, allocations: 17.41 kB / 451.2 MB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.954e-05/0.1717, allocations: 47.36 kB / 451.2 MB, free: 2.992 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1717, allocations: 0 / 451.2 MB, free: 2.992 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.216/0.3876, allocations: 3.545 MB / 454.7 MB, free: 48.49 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.3878, allocations: 233.5 kB / 455 MB, free: 48.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.152, allocations: 2.875 kB / 455 MB, free: 48.24 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches