Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.0008078/0.0008078, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.001282/0.001282, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9177/0.9177, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2495/0.2495, allocations: 34.25 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.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.704e-05, allocations: 10.28 kB / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.1613/0.1613, allocations: 1.718 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1623, allocations: 0.9873 MB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.1624, allocations: 2.688 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.1627, allocations: 99.17 kB / 445.1 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.163, allocations: 136 kB / 445.2 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.1631, allocations: 77.58 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.1633, allocations: 128.6 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.727e-05/0.1634, allocations: 13.55 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.455e-05/0.1634, allocations: 73.28 kB / 445.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.952e-05/0.1635, allocations: 63.86 kB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1635, allocations: 2.719 kB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.987e-05/0.1636, allocations: 63.16 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.418e-05/0.1636, allocations: 26.47 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.1637, allocations: 27.94 kB / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1638, allocations: 144.9 kB / 445.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1639, allocations: 2.938 kB / 445.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1639, allocations: 0 / 445.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1639, allocations: 0 / 445.8 MB, free: 42.9 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.0003935/0.1643, allocations: 372.9 kB / 446.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1643, allocations: 11.47 kB / 446.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.302e-05/0.1643, allocations: 37.89 kB / 446.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.1643, allocations: 19.94 kB / 446.3 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.1645, allocations: 165.6 kB / 446.4 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1646, allocations: 4 kB / 446.4 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.1646, allocations: 5.594 kB / 446.4 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.1647, allocations: 61.56 kB / 446.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1647, allocations: 0.7031 kB / 446.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1647, allocations: 6.031 kB / 446.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1647, allocations: 5.906 kB / 446.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.263e-05/0.1648, allocations: 27.64 kB / 446.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.165, allocations: 274.7 kB / 446.8 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.1652, allocations: 60.33 kB / 446.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.1653, allocations: 20.94 kB / 446.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.1653, allocations: 2.875 kB / 446.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.1654, allocations: 70.81 kB / 446.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.834e-06/0.1654, allocations: 0.8125 kB / 446.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000554/0.166, allocations: 258.3 kB / 447.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.166, allocations: 51.41 kB / 447.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.1661, allocations: 264.7 kB / 447.5 MB, free: 41.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.1661, allocations: 36.23 kB / 447.5 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.1662, allocations: 109 kB / 447.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.1662, allocations: 31.92 kB / 447.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.1662, allocations: 25.19 kB / 447.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.09e-05/0.1663, allocations: 332.2 kB / 448 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-05/0.1663, allocations: 30.77 kB / 448.1 MB, free: 41.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-05/0.1664, allocations: 47.03 kB / 448.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.505e-05/0.1665, allocations: 88.5 kB / 448.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1665, allocations: 0 / 448.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001283/0.1666, allocations: 131 kB / 448.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1666, allocations: 5.188 kB / 448.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1666, allocations: 3.938 kB / 448.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1666, allocations: 0 / 448.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.098e-05/0.1667, allocations: 24.86 kB / 448.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1667, allocations: 5.781 kB / 448.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.1667, allocations: 14.05 kB / 448.4 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.1667, allocations: 6.969 kB / 448.4 MB, free: 41.18 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 (13): * Single equations (assignments): 13 * 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.942e-05/0.1668, allocations: 133.1 kB / 448.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.1668, allocations: 16.25 kB / 448.5 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.167, allocations: 156.5 kB / 448.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.167, allocations: 2.875 kB / 448.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.167, allocations: 0 / 448.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.167, allocations: 1.312 kB / 448.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.1673, allocations: 435.9 kB / 449.1 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1673, allocations: 0 / 449.1 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.1673, allocations: 17.25 kB / 449.1 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1673, allocations: 6.688 kB / 449.1 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.1673, allocations: 2.812 kB / 449.1 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1673, allocations: 3.938 kB / 449.1 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1673, allocations: 0 / 449.1 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.1675, allocations: 251.8 kB / 449.4 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.1675, allocations: 10.69 kB / 449.4 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.1675, allocations: 9.906 kB / 449.4 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.055e-05/0.1675, allocations: 11 kB / 449.4 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.1676, allocations: 12.12 kB / 449.4 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.1676, allocations: 2.938 kB / 449.4 MB, free: 40.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.96e-05/0.1677, allocations: 195.6 kB / 449.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1677, allocations: 0 / 449.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001806/0.1679, allocations: 30.78 kB / 449.6 MB, free: 40.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001055/0.1689, allocations: 1.241 MB / 450.9 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.1691, allocations: 76.53 kB / 451 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1691, allocations: 0 / 451 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.666e-05/0.1691, allocations: 41 kB / 451 MB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.1694, allocations: 37.25 kB / 451 MB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.1706, allocations: 1.898 MB / 452.9 MB, free: 37.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.463e-05/0.1706, allocations: 113.4 kB / 453 MB, free: 37.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.037e-05/0.1707, allocations: 24.03 kB / 453.1 MB, free: 37.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.1708, allocations: 55.72 kB / 453.1 MB, free: 37.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1708, allocations: 2.938 kB / 453.1 MB, free: 37.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.1875, allocations: 4.843 MB / 458 MB, free: 36.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.846/7.034, allocations: 2.562 kB / 458 MB, free: 36.39 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.008570021018386]