Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008227/0.0008227, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009557/0.0009557, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8863/0.8863, allocations: 177.1 MB / 204.2 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2379/0.2379, allocations: 34.24 MB / 294.9 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.144e-05, allocations: 6.281 kB / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.1637/0.1637, allocations: 1.704 MB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1648, allocations: 0.9787 MB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.1649, allocations: 0 / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000373/0.1653, allocations: 86.5 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.1656, allocations: 115.2 kB / 445.1 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.1657, allocations: 78.62 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1659, allocations: 121.6 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.166, allocations: 9.141 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.812e-05/0.1661, allocations: 70.91 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1662, allocations: 58.7 kB / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1662, allocations: 3.031 kB / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.101e-05/0.1663, allocations: 42.95 kB / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.025e-05/0.1664, allocations: 26.2 kB / 445.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.1664, allocations: 26.58 kB / 445.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.1666, allocations: 119.7 kB / 445.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1666, allocations: 0 / 445.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1666, allocations: 0 / 445.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1666, allocations: 0 / 445.7 MB, free: 42.95 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003793/0.167, allocations: 350.8 kB / 446 MB, free: 42.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.167, allocations: 10.75 kB / 446 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.231e-05/0.1671, allocations: 41.86 kB / 446.1 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.1671, allocations: 14.59 kB / 446.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.1673, allocations: 159.5 kB / 446.3 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1673, allocations: 6.094 kB / 446.3 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.1673, allocations: 7 kB / 446.3 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.1674, allocations: 57.97 kB / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1674, allocations: 0 / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.1674, allocations: 0 / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1674, allocations: 2.969 kB / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.848e-05/0.1675, allocations: 24.23 kB / 446.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002502/0.1677, allocations: 256.8 kB / 446.6 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1679, allocations: 59.11 kB / 446.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.1679, allocations: 24.73 kB / 446.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.1679, allocations: 0 / 446.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.168, allocations: 70.03 kB / 446.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.168, allocations: 3.938 kB / 446.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004226/0.1684, allocations: 182.8 kB / 446.9 MB, free: 42.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.1685, allocations: 51.41 kB / 447 MB, free: 41.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.1686, allocations: 221 kB / 447.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.1686, allocations: 29.64 kB / 447.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.1686, allocations: 119.7 kB / 447.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.1686, allocations: 25.55 kB / 447.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.1687, allocations: 22.94 kB / 447.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.295e-05/0.1687, allocations: 327.6 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.631e-05/0.1687, allocations: 22.55 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.62e-05/0.1688, allocations: 37.69 kB / 447.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/0.1688, allocations: 58.44 kB / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1688, allocations: 0 / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001049/0.1689, allocations: 105.4 kB / 447.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.169, allocations: 8.406 kB / 447.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.169, allocations: 3.031 kB / 447.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.169, allocations: 3.422 kB / 447.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/0.169, allocations: 17.38 kB / 448 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.169, allocations: 2.156 kB / 448 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.1691, allocations: 11.27 kB / 448 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1691, allocations: 6.656 kB / 448 MB, free: 41.3 MB / 410.7 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 5.885e-05/0.1691, allocations: 135.7 kB / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.1692, allocations: 9.828 kB / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.1693, allocations: 127.7 kB / 448.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1693, allocations: 0 / 448.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1693, allocations: 2.625 kB / 448.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1693, allocations: 2.953 kB / 448.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.1696, allocations: 378.8 kB / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1696, allocations: 0 / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.1696, allocations: 8.594 kB / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1696, allocations: 2.719 kB / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.1696, allocations: 3.188 kB / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1696, allocations: 3.719 kB / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1696, allocations: 7.969 kB / 448.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.1697, allocations: 217.5 kB / 448.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.1697, allocations: 6.891 kB / 448.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.1697, allocations: 9.938 kB / 448.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.753e-05/0.1698, allocations: 0 / 448.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.1698, allocations: 12.91 kB / 448.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.1698, allocations: 2.938 kB / 448.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.197e-05/0.1699, allocations: 177 kB / 449.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1699, allocations: 0 / 449.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001728/0.1701, allocations: 28.25 kB / 449.1 MB, free: 40.52 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: 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 (9): * Single equations (assignments): 7 * 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.0009519/0.171, allocations: 1.148 MB / 450.2 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.1711, allocations: 65.34 kB / 450.3 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1711, allocations: 4.062 kB / 450.3 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.202e-05/0.1712, allocations: 25.09 kB / 450.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.1714, allocations: 37.53 kB / 450.4 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009398/0.1724, allocations: 1.736 MB / 452.1 MB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.341e-05/0.1724, allocations: 99.3 kB / 452.2 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.1e-05/0.1725, allocations: 18.39 kB / 452.2 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.1725, allocations: 40.77 kB / 452.3 MB, free: 38.2 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1725, allocations: 0 / 452.3 MB, free: 38.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.1884, allocations: 4.385 MB / 456.6 MB, free: 36.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.694/6.883, allocations: 9.672 kB / 456.7 MB, free: 36.79 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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: 8.794406352564692]