Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001039/0.001039, allocations: 71.75 kB / 21.69 MB, free: 2.84 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.001144/0.001144, allocations: 170.9 kB / 25 MB, free: 8.824 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 1.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.2685/0.2685, allocations: 34.26 MB / 296 MB, free: 0.7734 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 378.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.419e-05/3.619e-05, allocations: 6.312 kB / 378.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.00291/0.002947, allocations: 1.75 MB / 379.9 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.004306, allocations: 1.005 MB / 380.9 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.45e-05/0.004401, allocations: 0 / 380.9 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.004722, allocations: 51.62 kB / 380.9 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.005083, allocations: 95.64 kB / 381 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.005393, allocations: 71.67 kB / 381.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.005597, allocations: 111.5 kB / 381.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.863e-05/0.005696, allocations: 4 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.724e-05/0.005783, allocations: 63.75 kB / 381.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.005854, allocations: 27.92 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.00587, allocations: 4 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.838e-05/0.005958, allocations: 47.91 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.006016, allocations: 23.92 kB / 381.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.006057, allocations: 19.92 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.006241, allocations: 95.59 kB / 381.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.006247, allocations: 8 kB / 381.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.006249, allocations: 0 / 381.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.006253, allocations: 0 / 381.5 MB, free: 15.51 MB / 362.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.0004904/0.006744, allocations: 447.8 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.006782, allocations: 16.03 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.006835, allocations: 12.84 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.007013, allocations: 153.1 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.007036, allocations: 4.375 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.00706, allocations: 4.375 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.007207, allocations: 62.94 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.007218, allocations: 3.938 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.007228, allocations: 0 / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.007236, allocations: 0 / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.588e-05/0.007272, allocations: 11.98 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.007579, allocations: 295.7 kB / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.007682, allocations: 51.17 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.007717, allocations: 27.61 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.007728, allocations: 0 / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.007835, allocations: 68.98 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.007836, allocations: 0 / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003877/0.008224, allocations: 153.4 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.008258, allocations: 59.34 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.008402, allocations: 238.3 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.008415, allocations: 29.7 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.008473, allocations: 154.9 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.008503, allocations: 23.8 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.008537, allocations: 27.36 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.008652, allocations: 0.4962 MB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-05/0.008679, allocations: 8 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.909e-05/0.008718, allocations: 35.36 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.056e-05/0.008779, allocations: 55.23 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.00878, allocations: 4 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001152/0.008895, allocations: 101.6 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.00891, allocations: 4 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.008915, allocations: 3.938 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.008929, allocations: 0 / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.009015, allocations: 19.98 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.009021, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.021e-05/0.009051, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.009058, allocations: 4 kB / 384 MB, free: 12.75 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 9.19e-05/0.009149, allocations: 168 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.009167, allocations: 11.98 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.009339, allocations: 107.1 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.009343, allocations: 4 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.009346, allocations: 0 / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.00935, allocations: 0 / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.009656, allocations: 400.9 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.009658, allocations: 0 / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.009686, allocations: 8 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.00969, allocations: 4 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.009699, allocations: 4.312 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.009701, allocations: 4.031 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.009704, allocations: 4 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.009847, allocations: 259.4 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.009862, allocations: 15.89 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.009878, allocations: 4 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.224e-05/0.009921, allocations: 0 / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.009952, allocations: 11.92 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.009967, allocations: 8 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.545e-05/0.01004, allocations: 172.1 kB / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01004, allocations: 0 / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001893/0.01023, allocations: 27.92 kB / 385.2 MB, free: 11.48 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.001027/0.01126, allocations: 436.7 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.0114, allocations: 55.59 kB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.0114, allocations: 0 / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.026e-05/0.01144, allocations: 31.61 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.01169, allocations: 27.97 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.01204, allocations: 218.1 kB / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.364e-05/0.01208, allocations: 75.33 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.564e-05/0.01212, allocations: 8.984 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.01215, allocations: 20.48 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of SimCode: time 1.764e-06/0.01216, allocations: 0 / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of Templates: time 0.003687/0.01584, allocations: 1.869 MB / 387.9 MB, free: 8.875 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2955527589656413]