Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.0008448/0.0008448, 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.0008178/0.0008178, allocations: 170.3 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.8869/0.8869, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2515/0.2515, allocations: 32.79 MB / 293.5 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.11e-05, allocations: 3.266 kB / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002247/0.002269, allocations: 1.714 MB / 441.4 MB, free: 2.441 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.003931, allocations: 1.675 MB / 443.1 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.004, allocations: 0 / 443.1 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.004258, allocations: 39.66 kB / 443.1 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.004531, allocations: 99.53 kB / 443.2 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.004686, allocations: 83.59 kB / 443.3 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.004831, allocations: 111.6 kB / 443.4 MB, free: 440 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.091e-05/0.004922, allocations: 4 kB / 443.4 MB, free: 436 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.157e-05/0.005004, allocations: 63.81 kB / 443.5 MB, free: 372 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.428e-05/0.005098, allocations: 31.89 kB / 443.5 MB, free: 340 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.005116, allocations: 8 kB / 443.5 MB, free: 332 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.005244, allocations: 107.8 kB / 443.6 MB, free: 224 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.005295, allocations: 15.92 kB / 443.6 MB, free: 208 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.005332, allocations: 19.94 kB / 443.6 MB, free: 188 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.005555, allocations: 187.3 kB / 443.8 MB, free: 0 / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.005557, allocations: 0 / 443.8 MB, free: 0 / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.005559, allocations: 0 / 443.8 MB, free: 0 / 410.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.005564, allocations: 0 / 443.8 MB, free: 0 / 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.1682/0.1737, allocations: 344.6 kB / 444.2 MB, free: 46.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1738, allocations: 8.312 kB / 444.2 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.435e-05/0.1738, allocations: 41.25 kB / 444.2 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.1738, allocations: 14.72 kB / 444.2 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.174, allocations: 145.9 kB / 444.4 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1741, allocations: 2.859 kB / 444.4 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.1741, allocations: 4.531 kB / 444.4 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1742, allocations: 98.03 kB / 444.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1742, allocations: 4.5 kB / 444.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.1742, allocations: 4.688 kB / 444.5 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1742, allocations: 2.656 kB / 444.5 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.896e-05/0.1743, allocations: 20.88 kB / 444.5 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.1745, allocations: 250.5 kB / 444.7 MB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.1746, allocations: 64.86 kB / 444.8 MB, free: 46.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.1747, allocations: 24.06 kB / 444.8 MB, free: 46.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.1747, allocations: 0.9688 kB / 444.8 MB, free: 46.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/0.1748, allocations: 70.78 kB / 444.9 MB, free: 45.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.634e-06/0.1748, allocations: 0.5625 kB / 444.9 MB, free: 45.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003869/0.1752, allocations: 187.5 kB / 445.1 MB, free: 45.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.1752, allocations: 79.73 kB / 445.2 MB, free: 45.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.1753, allocations: 171.6 kB / 445.3 MB, free: 45.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.702e-06/0.1753, allocations: 25.7 kB / 445.4 MB, free: 45.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.1754, allocations: 99.38 kB / 445.4 MB, free: 45.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.1754, allocations: 25.91 kB / 445.5 MB, free: 45.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.1754, allocations: 27.09 kB / 445.5 MB, free: 45.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.827e-05/0.1754, allocations: 324.4 kB / 445.8 MB, free: 45.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.947e-05/0.1755, allocations: 20.69 kB / 445.8 MB, free: 45.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.1755, allocations: 70.22 kB / 445.9 MB, free: 45.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.56e-05/0.1756, allocations: 66.94 kB / 446 MB, free: 45.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1756, allocations: 0 / 446 MB, free: 45.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001047/0.1757, allocations: 104.8 kB / 446.1 MB, free: 45.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1757, allocations: 12.62 kB / 446.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1757, allocations: 3.203 kB / 446.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1757, allocations: 3.031 kB / 446.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.931e-05/0.1758, allocations: 11.69 kB / 446.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1758, allocations: 6.109 kB / 446.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.377e-05/0.1758, allocations: 3.062 kB / 446.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.1758, allocations: 3.844 kB / 446.1 MB, free: 45.16 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 4.706e-05/0.1759, allocations: 130.9 kB / 446.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.1759, allocations: 13.03 kB / 446.3 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.176, allocations: 113.6 kB / 446.4 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.176, allocations: 0.6562 kB / 446.4 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.176, allocations: 2.844 kB / 446.4 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.176, allocations: 3.375 kB / 446.4 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.1763, allocations: 373.9 kB / 446.7 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1763, allocations: 0 / 446.7 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.1763, allocations: 15.7 kB / 446.8 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1763, allocations: 2.406 kB / 446.8 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.1763, allocations: 6.844 kB / 446.8 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1763, allocations: 0 / 446.8 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1763, allocations: 0 / 446.8 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.1764, allocations: 214.3 kB / 447 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.324e-05/0.1764, allocations: 18.39 kB / 447 MB, free: 44.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.1764, allocations: 2.906 kB / 447 MB, free: 44.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.511e-05/0.1765, allocations: 2.938 kB / 447 MB, free: 44.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.1765, allocations: 14.09 kB / 447 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1765, allocations: 6.438 kB / 447 MB, free: 44.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.17e-05/0.1766, allocations: 130.4 kB / 447.1 MB, free: 44.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1766, allocations: 0 / 447.1 MB, free: 44.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001962/0.1768, allocations: 46.95 kB / 447.2 MB, free: 44.4 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.001061/0.1778, allocations: 1.25 MB / 448.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.178, allocations: 61.56 kB / 448.5 MB, free: 43.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.178, allocations: 0 / 448.5 MB, free: 43.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.99e-05/0.178, allocations: 29.03 kB / 448.5 MB, free: 43.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.1782, allocations: 33.66 kB / 448.6 MB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009346/0.1792, allocations: 1.62 MB / 450.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.7e-05/0.1792, allocations: 86.52 kB / 450.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.112e-05/0.1793, allocations: 14.97 kB / 450.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.1793, allocations: 38.89 kB / 450.3 MB, free: 42.12 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1793, allocations: 0 / 450.3 MB, free: 42.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.1982, allocations: 4.904 MB / 455.2 MB, free: 40.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.634/6.833, allocations: 9.906 kB / 455.2 MB, free: 40.57 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.821289665065706]