Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001961/0.001961, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002028/0.002028, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.583/1.583, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3552/0.3552, allocations: 32.8 MB / 293.9 MB, free: 1.211 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.384e-05/3.569e-05, allocations: 9.484 kB / 375.4 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.004408/0.004444, allocations: 1.735 MB / 377.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003689/0.008133, allocations: 1.699 MB / 378.8 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.008211, allocations: 0 / 378.8 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.00855, allocations: 39.7 kB / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004787/0.009029, allocations: 107.4 kB / 378.9 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.009312, allocations: 83.59 kB / 379 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.009559, allocations: 111.6 kB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.101e-05/0.00965, allocations: 12 kB / 379.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.009815, allocations: 55.83 kB / 379.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.009977, allocations: 35.89 kB / 379.2 MB, free: 1 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.01001, allocations: 8 kB / 379.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.01027, allocations: 95.88 kB / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.235e-05/0.01034, allocations: 19.86 kB / 379.3 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.0104, allocations: 23.92 kB / 379.4 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000432/0.01083, allocations: 183.4 kB / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01084, allocations: 0 / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.01084, allocations: 0 / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.01085, allocations: 4 kB / 379.6 MB, free: 0.6719 MB / 346.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.0008363/0.01168, allocations: 455.4 kB / 380 MB, free: 196 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.01173, allocations: 12.03 kB / 380 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.689e-05/0.01181, allocations: 16.88 kB / 380 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.01216, allocations: 149 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.01217, allocations: 384 / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.0122, allocations: 4.375 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.01245, allocations: 102.7 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.01246, allocations: 0 / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.01248, allocations: 0 / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.01248, allocations: 4 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.01259, allocations: 23.92 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.01315, allocations: 299.7 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.0134, allocations: 67.14 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.884e-05/0.01349, allocations: 19.69 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.01351, allocations: 0 / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.01372, allocations: 76.98 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.01372, allocations: 0 / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007608/0.01448, allocations: 173.3 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.479e-05/0.01458, allocations: 81.11 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.0149, allocations: 229.9 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.01493, allocations: 33.7 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.01506, allocations: 150.8 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/0.01512, allocations: 27.78 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.471e-05/0.01519, allocations: 27.38 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003908/0.01558, allocations: 0.5078 MB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.044e-05/0.01567, allocations: 19.98 kB / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.01583, allocations: 76.75 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.01603, allocations: 63.31 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.01603, allocations: 4.031 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003563/0.01639, allocations: 113.5 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.01641, allocations: 8 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01642, allocations: 384 / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.01644, allocations: 0 / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.01657, allocations: 12 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.01658, allocations: 4 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.183e-05/0.01666, allocations: 7.984 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.01668, allocations: 4 kB / 382.3 MB, free: 13.69 MB / 362.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 0.000191/0.01687, allocations: 168.5 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.01692, allocations: 15.98 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/0.01732, allocations: 118.5 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01732, allocations: 0 / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.01733, allocations: 0 / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01733, allocations: 0 / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008005/0.01813, allocations: 413 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01813, allocations: 4 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.484e-05/0.01822, allocations: 11.94 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01822, allocations: 0 / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.01824, allocations: 7.984 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.01824, allocations: 4.031 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01824, allocations: 0 / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000469/0.01871, allocations: 271.4 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.01874, allocations: 7.953 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.01879, allocations: 8 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.01891, allocations: 3.984 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.01897, allocations: 7.938 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.01899, allocations: 7.984 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002485/0.01924, allocations: 183.1 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01924, allocations: 0 / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005274/0.01977, allocations: 43.81 kB / 383.5 MB, free: 12.36 MB / 362.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.00519/0.02496, allocations: 0.5902 MB / 384.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.02527, allocations: 67.61 kB / 384.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.02527, allocations: 0 / 384.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.0254, allocations: 43.55 kB / 384.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007647/0.02617, allocations: 47.47 kB / 384.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006876/0.02685, allocations: 217.8 kB / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.027, allocations: 85.44 kB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.36e-05/0.02708, allocations: 12.98 kB / 384.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.522e-05/0.02717, allocations: 24.48 kB / 384.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02717, allocations: 0 / 384.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of Templates: time 0.009634/0.0368, allocations: 2.54 MB / 387.1 MB, free: 8.953 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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: 5.070507280062884]