Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001068/0.001068, allocations: 83.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.0008142/0.0008142, allocations: 170 kB / 23.95 MB, free: 0.6172 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.9067/0.9067, allocations: 177.2 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.2485/0.2485, allocations: 34.24 MB / 294.9 MB, free: 0.6992 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.Test78,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.263e-05, allocations: 4.391 kB / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.1699/0.17, allocations: 1.865 MB / 444.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.171, allocations: 1.083 MB / 445.2 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.144e-05/0.1711, allocations: 3.938 kB / 445.2 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.1714, allocations: 253.2 kB / 445.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.1717, allocations: 238.1 kB / 445.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.1719, allocations: 118.8 kB / 445.8 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.1721, allocations: 280.9 kB / 446.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.768e-05/0.1722, allocations: 21.73 kB / 446.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.1723, allocations: 149.1 kB / 446.3 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.1724, allocations: 193 kB / 446.5 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.1725, allocations: 11 kB / 446.5 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.57e-05/0.1725, allocations: 76.45 kB / 446.5 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.1726, allocations: 69.89 kB / 446.6 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.1726, allocations: 45.16 kB / 446.7 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.1729, allocations: 252.2 kB / 446.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1729, allocations: 0 / 446.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1729, allocations: 3.328 kB / 446.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1729, allocations: 0 / 446.9 MB, free: 42.66 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005016/0.1734, allocations: 0.5034 MB / 447.4 MB, free: 42.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1734, allocations: 10.56 kB / 447.4 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.752e-05/0.1735, allocations: 45.33 kB / 447.5 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.1735, allocations: 36.77 kB / 447.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.1737, allocations: 239.8 kB / 447.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1737, allocations: 3.312 kB / 447.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.1737, allocations: 10.16 kB / 447.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.1739, allocations: 116.4 kB / 447.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1739, allocations: 7.312 kB / 447.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1739, allocations: 6.328 kB / 447.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1739, allocations: 5.062 kB / 447.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.572e-05/0.174, allocations: 45.92 kB / 447.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.1743, allocations: 454.5 kB / 448.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.1745, allocations: 122.4 kB / 448.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.1746, allocations: 49.69 kB / 448.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.1746, allocations: 2.75 kB / 448.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.1747, allocations: 118.9 kB / 448.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.1747, allocations: 0 / 448.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007036/0.1754, allocations: 0.5192 MB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.1755, allocations: 84.67 kB / 449.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.1757, allocations: 0.4986 MB / 449.8 MB, free: 40.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.1757, allocations: 40.39 kB / 449.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.1758, allocations: 178.7 kB / 450 MB, free: 40.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.1758, allocations: 72.84 kB / 450 MB, free: 40.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.1759, allocations: 43.39 kB / 450.1 MB, free: 40.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.1759, allocations: 351.3 kB / 450.4 MB, free: 40.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.881e-05/0.176, allocations: 58.56 kB / 450.5 MB, free: 40.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.305e-05/0.1761, allocations: 90.98 kB / 450.6 MB, free: 40.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.1762, allocations: 164.6 kB / 450.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1762, allocations: 4 kB / 450.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002038/0.1764, allocations: 238.7 kB / 451 MB, free: 39.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1764, allocations: 5.875 kB / 451 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1764, allocations: 4.125 kB / 451 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1764, allocations: 3.938 kB / 451 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.1765, allocations: 48.48 kB / 451 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1765, allocations: 5.531 kB / 451 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.1766, allocations: 9.719 kB / 451 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1766, allocations: 5.906 kB / 451 MB, free: 39.96 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.524e-05/0.1767, allocations: 179 kB / 451.2 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.1767, allocations: 37.05 kB / 451.3 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.177, allocations: 279.6 kB / 451.5 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.177, allocations: 6.625 kB / 451.5 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.177, allocations: 0 / 451.5 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.177, allocations: 10.55 kB / 451.5 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.1774, allocations: 0.7234 MB / 452.3 MB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1774, allocations: 0 / 452.3 MB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.693e-05/0.1775, allocations: 29.19 kB / 452.3 MB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1775, allocations: 2.812 kB / 452.3 MB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1775, allocations: 12.75 kB / 452.3 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1775, allocations: 6.312 kB / 452.3 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1775, allocations: 2.844 kB / 452.3 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.1777, allocations: 440.7 kB / 452.8 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.1777, allocations: 31.22 kB / 452.8 MB, free: 38.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.1778, allocations: 14.53 kB / 452.8 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.1778, allocations: 5.781 kB / 452.8 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.1779, allocations: 29.92 kB / 452.8 MB, free: 38.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1779, allocations: 8.312 kB / 452.8 MB, free: 38.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001785/0.1781, allocations: 385.5 kB / 453.2 MB, free: 38.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1781, allocations: 0 / 453.2 MB, free: 38.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.1783, allocations: 48.97 kB / 453.3 MB, free: 38.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.001066/0.1793, allocations: 1.429 MB / 454.7 MB, free: 37.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.1795, allocations: 167.5 kB / 454.9 MB, free: 37.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1795, allocations: 0 / 454.9 MB, free: 37.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.995e-05/0.1796, allocations: 75.69 kB / 454.9 MB, free: 37.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.18, allocations: 78.5 kB / 455 MB, free: 37.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.1818, allocations: 3.03 MB / 458 MB, free: 35.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.736e-05/0.1819, allocations: 176.7 kB / 458.2 MB, free: 35.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.367e-05/0.1819, allocations: 37.89 kB / 458.2 MB, free: 35.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.793e-05/0.182, allocations: 113.4 kB / 458.4 MB, free: 35.47 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.182, allocations: 0 / 458.4 MB, free: 35.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.1977, allocations: 7.61 MB / 466 MB, free: 33.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.746/6.943, allocations: 0 / 466 MB, free: 33.71 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.919827399775386]