Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",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.001213/0.001213, allocations: 107.7 kB / 17.21 MB, free: 6.289 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.001593/0.001593, allocations: 194 kB / 18.12 MB, free: 5.379 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.458/1.458, allocations: 222.9 MB / 241.8 MB, free: 15.49 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.2289/0.2289, allocations: 44.18 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.52 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1556, allocations: 60.83 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003338/0.159, allocations: 1.761 MB / 470.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1605, allocations: 0.8615 MB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.1606, allocations: 0 / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.1609, allocations: 43.77 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.1612, allocations: 43.83 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.1614, allocations: 94.08 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.1616, allocations: 91.69 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1617, allocations: 16.16 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/0.1618, allocations: 39.8 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.1619, allocations: 27.84 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1619, allocations: 4 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.162, allocations: 39.98 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.1621, allocations: 19.92 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/0.1622, allocations: 39.67 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1624, allocations: 107.9 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1624, allocations: 0 / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1624, allocations: 0 / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1624, allocations: 0 / 471.8 MB, free: 11.56 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.0005789/0.163, allocations: 415.1 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.163, allocations: 8.031 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/0.1631, allocations: 38.73 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.1631, allocations: 8.844 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1634, allocations: 212 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1634, allocations: 384 / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.1634, allocations: 3.938 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1636, allocations: 61.61 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1636, allocations: 3.984 kB / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1636, allocations: 4 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1636, allocations: 0 / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.982e-05/0.1637, allocations: 19.98 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.1641, allocations: 280.9 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1643, allocations: 58.62 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.1643, allocations: 24.84 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1644, allocations: 3.938 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.1646, allocations: 67.39 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1646, allocations: 0 / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007189/0.1653, allocations: 177.5 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.1654, allocations: 51.41 kB / 473.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.1657, allocations: 194.1 kB / 473.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.1657, allocations: 29.7 kB / 473.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.765e-05/0.1658, allocations: 104.1 kB / 473.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.1658, allocations: 23.7 kB / 473.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.1659, allocations: 21.72 kB / 473.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.1661, allocations: 318.8 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.401e-05/0.1662, allocations: 27.92 kB / 473.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.259e-05/0.1663, allocations: 45.64 kB / 474 MB, free: 9.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1664, allocations: 57.77 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1664, allocations: 0 / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002358/0.1667, allocations: 105.4 kB / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1667, allocations: 4 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1667, allocations: 0 / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1667, allocations: 0 / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1669, allocations: 19.98 kB / 474.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1669, allocations: 4.031 kB / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.1669, allocations: 3.938 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.167, allocations: 8 kB / 474.2 MB, free: 8.957 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.0001417/0.1671, allocations: 132.8 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.1671, allocations: 11.91 kB / 474.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/0.1672, allocations: 12.72 kB / 474.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1672, allocations: 0 / 474.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1672, allocations: 0 / 474.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.1672, allocations: 7.922 kB / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.1678, allocations: 395.3 kB / 474.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1678, allocations: 0 / 474.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.1678, allocations: 8 kB / 474.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1678, allocations: 3.938 kB / 474.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1678, allocations: 4 kB / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1678, allocations: 0 / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.1679, allocations: 0 / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.1681, allocations: 220.1 kB / 474.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.667e-05/0.1682, allocations: 85.02 kB / 475 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.1682, allocations: 3.938 kB / 475 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.1683, allocations: 8 kB / 475 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.1684, allocations: 7.984 kB / 475 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.1684, allocations: 0 / 475 MB, free: 7.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.1686, allocations: 151.2 kB / 475.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1686, allocations: 0 / 475.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.1689, allocations: 24 kB / 475.2 MB, free: 7.797 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.001689/0.1706, allocations: 1.104 MB / 476.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.1708, allocations: 51.97 kB / 476.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.1708, allocations: 4 kB / 476.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.185e-05/0.1709, allocations: 31.92 kB / 476.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.1713, allocations: 24.11 kB / 476.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1732, allocations: 1.648 MB / 478.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1735, allocations: 0.7043 MB / 478.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.37e-05/0.1736, allocations: 17.17 kB / 478.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.301e-05/0.1737, allocations: 31.42 kB / 478.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of SimCode: time 9.61e-07/0.1737, allocations: 0 / 478.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.1897, allocations: 3.134 MB / 482 MB, free: 1.191 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/0.19, allocations: 235.1 kB / 482.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.097, allocations: 3.938 kB / 482.2 MB, free: 0.9375 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches