Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.001338/0.001338, allocations: 110.7 kB / 16.46 MB, free: 6.477 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.001296/0.001296, allocations: 192.1 kB / 17.39 MB, free: 5.688 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.489/1.489, allocations: 207.6 MB / 225.8 MB, free: 11.57 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.2332/0.2332, allocations: 44.25 MB / 319.9 MB, free: 12.87 MB / 270.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.003732/0.003732, allocations: 71.91 kB / 453.6 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1543, allocations: 61.01 MB / 0.5025 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003207/0.1575, allocations: 1.793 MB / 0.5043 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.1597, allocations: 1.492 MB / 0.5057 GB, free: 8.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.1598, allocations: 0 / 0.5057 GB, free: 8.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.1601, allocations: 63.67 kB / 0.5058 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.1604, allocations: 91.53 kB / 0.5059 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.1608, allocations: 135.7 kB / 0.506 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.161, allocations: 183.4 kB / 0.5062 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.184e-05/0.1611, allocations: 13.53 kB / 0.5062 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1612, allocations: 79.62 kB / 0.5063 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.1614, allocations: 75.69 kB / 0.5063 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.1614, allocations: 4 kB / 0.5063 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.1615, allocations: 63.97 kB / 0.5064 GB, free: 8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.1616, allocations: 35.78 kB / 0.5064 GB, free: 7.965 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.417e-05/0.1617, allocations: 55.67 kB / 0.5065 GB, free: 7.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.1619, allocations: 171.2 kB / 0.5067 GB, free: 7.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.162, allocations: 0 / 0.5067 GB, free: 7.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.162, allocations: 0 / 0.5067 GB, free: 7.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.162, allocations: 0 / 0.5067 GB, free: 7.742 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006793/0.1626, allocations: 482.2 kB / 0.5071 GB, free: 7.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1627, allocations: 11.89 kB / 0.5071 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.1627, allocations: 42.75 kB / 0.5072 GB, free: 7.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.1628, allocations: 20.83 kB / 0.5072 GB, free: 7.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.1631, allocations: 239.8 kB / 0.5074 GB, free: 6.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1631, allocations: 4.375 kB / 0.5074 GB, free: 6.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.1632, allocations: 3.938 kB / 0.5074 GB, free: 6.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.1634, allocations: 109 kB / 0.5075 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1634, allocations: 0 / 0.5075 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1634, allocations: 0 / 0.5075 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1634, allocations: 4 kB / 0.5075 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1635, allocations: 27.98 kB / 0.5076 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.1638, allocations: 218.5 kB / 0.5078 GB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.1641, allocations: 109.1 kB / 0.5079 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.084e-05/0.1641, allocations: 33.7 kB / 0.5079 GB, free: 6.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.1642, allocations: 0 / 0.5079 GB, free: 6.273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.1644, allocations: 117 kB / 0.508 GB, free: 6.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.1644, allocations: 0 / 0.508 GB, free: 6.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.00046/0.1649, allocations: 169.5 kB / 0.5082 GB, free: 5.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.917e-05/0.1649, allocations: 128.5 kB / 0.5083 GB, free: 5.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.1652, allocations: 215.8 kB / 0.5085 GB, free: 5.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.1652, allocations: 29.7 kB / 0.5085 GB, free: 5.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.1653, allocations: 112.1 kB / 0.5086 GB, free: 5.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.1653, allocations: 35.73 kB / 0.5087 GB, free: 5.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.1654, allocations: 21.72 kB / 0.5087 GB, free: 5.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1655, allocations: 330.8 kB / 0.509 GB, free: 5.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.1656, allocations: 27.98 kB / 0.509 GB, free: 5.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1657, allocations: 73.08 kB / 0.5091 GB, free: 4.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.1659, allocations: 91.84 kB / 0.5092 GB, free: 4.824 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1659, allocations: 3.938 kB / 0.5092 GB, free: 4.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003085/0.1662, allocations: 137.5 kB / 0.5093 GB, free: 4.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1662, allocations: 8 kB / 0.5093 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1662, allocations: 4 kB / 0.5093 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1663, allocations: 0 / 0.5093 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1664, allocations: 23.98 kB / 0.5094 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1664, allocations: 7.938 kB / 0.5094 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.1665, allocations: 11.89 kB / 0.5094 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1665, allocations: 7.984 kB / 0.5094 GB, free: 4.617 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001264/0.1666, allocations: 129.8 kB / 0.5095 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1666, allocations: 19.91 kB / 0.5095 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.1667, allocations: 24.97 kB / 0.5096 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1667, allocations: 4 kB / 0.5096 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1667, allocations: 0 / 0.5096 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1667, allocations: 0 / 0.5096 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.1669, allocations: 221.5 kB / 0.5098 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1669, allocations: 0 / 0.5098 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.167, allocations: 8 kB / 0.5098 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.167, allocations: 0 / 0.5098 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.167, allocations: 4 kB / 0.5098 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.167, allocations: 3.938 kB / 0.5098 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.167, allocations: 4 kB / 0.5098 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.1673, allocations: 181.6 kB / 0.51 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.1674, allocations: 85.06 kB / 0.51 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.1674, allocations: 4 kB / 0.51 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/0.1675, allocations: 7.984 kB / 0.5101 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.1675, allocations: 12 kB / 0.5101 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.1675, allocations: 8.109 kB / 0.5101 GB, free: 3.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.1677, allocations: 157.5 kB / 0.5102 GB, free: 3.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1677, allocations: 4 kB / 0.5102 GB, free: 3.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1679, allocations: 39.88 kB / 0.5103 GB, free: 3.617 MB / 398.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002199/0.1701, allocations: 1.055 MB / 0.5113 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.1704, allocations: 75.89 kB / 0.5114 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1704, allocations: 0 / 0.5114 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.1705, allocations: 40.05 kB / 0.5114 GB, free: 2.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.1709, allocations: 59.88 kB / 0.5115 GB, free: 2.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.1732, allocations: 1.824 MB / 0.5132 GB, free: 492 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.1736, allocations: 0.7164 MB / 0.5139 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.1737, allocations: 37.52 kB / 0.514 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/0.1738, allocations: 47.41 kB / 0.514 GB, free: 15.66 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1738, allocations: 3.938 kB / 0.514 GB, free: 15.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.2049, allocations: 4.699 MB / 0.5186 GB, free: 10.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.02, allocations: 11.91 kB / 0.5186 GB, free: 10.88 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new_2.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nout,t_new_2.offset[1],t_new_2.shiftTime,t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.timeEvents,t_new_2.timeScale,t_new_2.verboseExtrapolation,t_new_2.verboseRead,t_new_2.y[1],time