Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8816/0.8816, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2324/0.2324, allocations: 34.25 MB / 294.8 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.996e-05, allocations: 5.234 kB / 442.2 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.1581/0.1582, allocations: 1.775 MB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1596, allocations: 1.747 MB / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.1597, allocations: 2.875 kB / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.1599, allocations: 54.52 kB / 445.8 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.1602, allocations: 146.8 kB / 446 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.1603, allocations: 110.8 kB / 446.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.1605, allocations: 204.4 kB / 446.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.1605, allocations: 7.656 kB / 446.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.672e-05/0.1606, allocations: 109.2 kB / 446.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1607, allocations: 68.19 kB / 446.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1607, allocations: 8.844 kB / 446.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.1609, allocations: 112.6 kB / 446.6 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.1609, allocations: 39.23 kB / 446.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.1609, allocations: 43.38 kB / 446.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.1612, allocations: 236.3 kB / 446.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1612, allocations: 0 / 446.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1612, allocations: 0 / 446.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1612, allocations: 0 / 446.9 MB, free: 42.3 MB / 410.7 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.0004207/0.1616, allocations: 422.6 kB / 447.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1616, allocations: 6.875 kB / 447.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.418e-05/0.1617, allocations: 36.62 kB / 447.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.1617, allocations: 21.42 kB / 447.4 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.1619, allocations: 199.2 kB / 447.5 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1619, allocations: 3.375 kB / 447.5 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.1619, allocations: 4.984 kB / 447.6 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1621, allocations: 153.6 kB / 447.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1621, allocations: 192 / 447.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1621, allocations: 6.938 kB / 447.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1621, allocations: 2.188 kB / 447.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.057e-05/0.1622, allocations: 35.36 kB / 447.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.1623, allocations: 183.8 kB / 447.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.1624, allocations: 108.4 kB / 448 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.1625, allocations: 45.17 kB / 448.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.1625, allocations: 2.906 kB / 448.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.1626, allocations: 119.4 kB / 448.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1626, allocations: 0 / 448.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002597/0.1629, allocations: 181.3 kB / 448.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.1629, allocations: 131.5 kB / 448.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.1631, allocations: 245.7 kB / 448.7 MB, free: 40.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.1631, allocations: 30.52 kB / 448.8 MB, free: 40.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.1631, allocations: 119.6 kB / 448.9 MB, free: 40.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.1631, allocations: 29.98 kB / 448.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.1632, allocations: 32.22 kB / 448.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.012e-05/0.1632, allocations: 328.4 kB / 449.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.1632, allocations: 28.62 kB / 449.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-05/0.1633, allocations: 122.3 kB / 449.4 MB, free: 40.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.007e-05/0.1634, allocations: 92.42 kB / 449.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1634, allocations: 4.031 kB / 449.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000135/0.1635, allocations: 148 kB / 449.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1635, allocations: 5.719 kB / 449.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1635, allocations: 10.81 kB / 449.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1635, allocations: 0 / 449.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.1636, allocations: 20.72 kB / 449.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1636, allocations: 2.906 kB / 449.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.847e-05/0.1637, allocations: 13.77 kB / 449.7 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.1637, allocations: 10.3 kB / 449.7 MB, free: 40.02 MB / 410.7 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 5.759e-05/0.1637, allocations: 133.4 kB / 449.8 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.1637, allocations: 20.56 kB / 449.9 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.1639, allocations: 167.6 kB / 450 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1639, allocations: 0 / 450 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1639, allocations: 6.125 kB / 450 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1639, allocations: 3.328 kB / 450 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.667e-05/0.164, allocations: 188.7 kB / 450.2 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.164, allocations: 2.906 kB / 450.2 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/0.164, allocations: 8.594 kB / 450.2 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.164, allocations: 4 kB / 450.2 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.164, allocations: 10.2 kB / 450.3 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.164, allocations: 0 / 450.3 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.164, allocations: 2.844 kB / 450.3 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.1642, allocations: 176.9 kB / 450.4 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.1642, allocations: 17.38 kB / 450.4 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.1642, allocations: 10.66 kB / 450.5 MB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.606e-05/0.1643, allocations: 9.969 kB / 450.5 MB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.1643, allocations: 6.406 kB / 450.5 MB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.1643, allocations: 17.03 kB / 450.5 MB, free: 39.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.165e-05/0.1644, allocations: 187.6 kB / 450.7 MB, free: 39.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1644, allocations: 0 / 450.7 MB, free: 39.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001763/0.1646, allocations: 52.11 kB / 450.7 MB, free: 39.36 MB / 410.7 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.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.000941/0.1655, allocations: 1.156 MB / 451.9 MB, free: 38.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.1657, allocations: 89.97 kB / 452 MB, free: 38.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1657, allocations: 2.469 kB / 452 MB, free: 38.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.276e-05/0.1657, allocations: 41.62 kB / 452 MB, free: 38.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.1659, allocations: 63.72 kB / 452.1 MB, free: 38.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.1671, allocations: 1.909 MB / 454 MB, free: 37.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.676e-05/0.1672, allocations: 113.4 kB / 454.1 MB, free: 37.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.105e-05/0.1672, allocations: 28.92 kB / 454.1 MB, free: 37.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.1673, allocations: 67.39 kB / 454.2 MB, free: 36.98 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1673, allocations: 0 / 454.2 MB, free: 36.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.185, allocations: 6.355 MB / 460.5 MB, free: 35.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.156/7.341, allocations: 13.67 kB / 460.6 MB, free: 35.25 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.42147999536246]