Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",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.0016/0.0016, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.00199/0.00199, allocations: 194 kB / 18.12 MB, free: 5.363 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.8 MB, free: 13.83 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.2273/0.2273, allocations: 44.18 MB / 336.1 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 65.5 kB / 407.8 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1572, allocations: 60.83 MB / 468.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.004536/0.1618, allocations: 1.76 MB / 470.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.1638, allocations: 0.8537 MB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.1639, allocations: 4 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.1643, allocations: 39.83 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.1646, allocations: 43.83 kB / 471.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.165, allocations: 91.47 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.1653, allocations: 91.69 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1654, allocations: 16.22 kB / 471.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1655, allocations: 39.73 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1656, allocations: 31.84 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1657, allocations: 0 / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1658, allocations: 43.97 kB / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.1659, allocations: 19.92 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.1659, allocations: 31.75 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.1662, allocations: 115.8 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1662, allocations: 4 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.1662, allocations: 0 / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1662, allocations: 3.938 kB / 471.8 MB, free: 11.49 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000633/0.1669, allocations: 407.1 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.1669, allocations: 8.031 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.167, allocations: 38.75 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.167, allocations: 12.75 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.1673, allocations: 208.1 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.1673, allocations: 4.375 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1674, allocations: 15.88 kB / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.1676, allocations: 57.61 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1676, allocations: 0 / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1676, allocations: 0 / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1676, allocations: 0 / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.721e-05/0.1677, allocations: 23.97 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.1681, allocations: 280.9 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.1683, allocations: 66.61 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.551e-05/0.1684, allocations: 16.86 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.1684, allocations: 0 / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.1687, allocations: 67.39 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1687, allocations: 0 / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006006/0.1693, allocations: 173.2 kB / 473.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.1693, allocations: 51.41 kB / 473.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1695, allocations: 194.1 kB / 473.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1696, allocations: 25.7 kB / 473.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.1696, allocations: 108 kB / 473.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.1697, allocations: 19.72 kB / 473.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.1697, allocations: 29.7 kB / 473.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1699, allocations: 326.8 kB / 473.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.248e-05/0.1699, allocations: 16 kB / 473.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.17, allocations: 41.64 kB / 474 MB, free: 9.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1701, allocations: 54.08 kB / 474 MB, free: 9.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1701, allocations: 0 / 474 MB, free: 9.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002015/0.1703, allocations: 105.4 kB / 474.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1704, allocations: 12.02 kB / 474.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1704, allocations: 4.188 kB / 474.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1704, allocations: 0 / 474.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.631e-05/0.1705, allocations: 19.94 kB / 474.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1705, allocations: 160 / 474.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.221e-05/0.1706, allocations: 3.938 kB / 474.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1706, allocations: 7.984 kB / 474.2 MB, free: 8.898 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 (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 0.000109/0.1707, allocations: 125.8 kB / 474.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.1707, allocations: 11.91 kB / 474.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.293e-05/0.1708, allocations: 24.69 kB / 474.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1708, allocations: 0 / 474.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1708, allocations: 3.938 kB / 474.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1709, allocations: 3.938 kB / 474.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.1713, allocations: 391.3 kB / 474.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1713, allocations: 0 / 474.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.1714, allocations: 8 kB / 474.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.85e-06/0.1714, allocations: 3.938 kB / 474.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.1714, allocations: 12.02 kB / 474.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1714, allocations: 0 / 474.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1714, allocations: 0 / 474.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.1717, allocations: 204.2 kB / 474.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.1718, allocations: 85.02 kB / 475 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.1718, allocations: 7.875 kB / 475 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/0.1719, allocations: 15.98 kB / 475 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.172, allocations: 4 kB / 475 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.172, allocations: 0 / 475 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.1721, allocations: 147.2 kB / 475.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1721, allocations: 0 / 475.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.1724, allocations: 24 kB / 475.2 MB, free: 7.738 MB / 350.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.00154/0.174, allocations: 1.1 MB / 476.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.1742, allocations: 55.98 kB / 476.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1742, allocations: 4 kB / 476.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.876e-05/0.1743, allocations: 31.92 kB / 476.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1746, allocations: 27.94 kB / 476.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.1765, allocations: 1.656 MB / 478.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.1768, allocations: 0.7043 MB / 478.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.769e-05/0.1769, allocations: 16.88 kB / 478.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.177, allocations: 31.42 kB / 478.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.177, allocations: 0 / 478.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.192, allocations: 3.129 MB / 482 MB, free: 1.125 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/0.1923, allocations: 238.7 kB / 482.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.096, allocations: 3.5 kB / 482.2 MB, free: 0.8711 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches