Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",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.0009895/0.0009895, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.00106/0.00106, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.454/1.454, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2451/0.2451, allocations: 44.17 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63.75 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1499, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003688/0.1536, allocations: 1.652 MB / 471 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1552, allocations: 0.8574 MB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.801e-05/0.1553, allocations: 0 / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.1556, allocations: 63.78 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.156, allocations: 67.67 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.1563, allocations: 107.6 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.1565, allocations: 95.69 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.1566, allocations: 11.98 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.1567, allocations: 47.78 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.1568, allocations: 47.77 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.1568, allocations: 4 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1569, allocations: 28 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.157, allocations: 19.92 kB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.431e-05/0.1571, allocations: 31.8 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.1573, allocations: 99.92 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1573, allocations: 0 / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1573, allocations: 4 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1573, allocations: 0 / 472.5 MB, free: 11.12 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00058/0.1579, allocations: 405.9 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.158, allocations: 8.031 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.385e-05/0.158, allocations: 30.75 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.1581, allocations: 12.83 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1583, allocations: 208.1 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.1584, allocations: 384 / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.1584, allocations: 7.938 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1586, allocations: 49.67 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1586, allocations: 0 / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1586, allocations: 4 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.1586, allocations: 7.984 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.1587, allocations: 23.86 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.1589, allocations: 181.6 kB / 473.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1591, allocations: 58.55 kB / 473.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.1592, allocations: 16.86 kB / 473.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.1592, allocations: 0 / 473.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.1594, allocations: 63.39 kB / 473.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.1594, allocations: 0 / 473.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002985/0.1598, allocations: 101.5 kB / 473.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.1598, allocations: 55.41 kB / 473.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.16, allocations: 186.1 kB / 473.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.16, allocations: 29.7 kB / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.1601, allocations: 100.1 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.1601, allocations: 11.81 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.1602, allocations: 25.7 kB / 474 MB, free: 9.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1603, allocations: 318.8 kB / 474.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.812e-05/0.1603, allocations: 12 kB / 474.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.805e-05/0.1604, allocations: 37.69 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.968e-05/0.1605, allocations: 45.64 kB / 474.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1605, allocations: 7.875 kB / 474.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001643/0.1607, allocations: 81.53 kB / 474.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1607, allocations: 4 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1607, allocations: 0 / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1608, allocations: 0 / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.1609, allocations: 16.03 kB / 474.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1609, allocations: 0 / 474.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.1609, allocations: 11.98 kB / 474.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1609, allocations: 0 / 474.6 MB, free: 8.805 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 (7): * Single equations (assignments): 7 * 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.0001118/0.1611, allocations: 121.8 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.1611, allocations: 11.81 kB / 474.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.1611, allocations: 16.61 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1611, allocations: 4 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.1612, allocations: 0 / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1612, allocations: 8 kB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.1613, allocations: 193.5 kB / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1613, allocations: 0 / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.1614, allocations: 11.92 kB / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1614, allocations: 3.938 kB / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1614, allocations: 0 / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1614, allocations: 0 / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1614, allocations: 0 / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.1616, allocations: 113 kB / 475 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.1616, allocations: 85.02 kB / 475.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.1617, allocations: 0 / 475.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.541e-05/0.1617, allocations: 4 kB / 475.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.1617, allocations: 3.984 kB / 475.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.1618, allocations: 4 kB / 475.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1619, allocations: 135.2 kB / 475.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1619, allocations: 0 / 475.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.1621, allocations: 19.98 kB / 475.3 MB, free: 7.984 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001264/0.1634, allocations: 0.9554 MB / 476.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.1636, allocations: 43.92 kB / 476.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1636, allocations: 0 / 476.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.082e-05/0.1636, allocations: 19.98 kB / 476.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.1639, allocations: 28.05 kB / 476.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.1656, allocations: 1.477 MB / 477.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.166, allocations: 0.7041 MB / 478.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.995e-05/0.166, allocations: 4.562 kB / 478.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.864e-05/0.1661, allocations: 35.42 kB / 478.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1661, allocations: 0 / 478.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.1879, allocations: 2.987 MB / 481.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.38/7.568, allocations: 20.31 kB / 481.6 MB, free: 1.812 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches