Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.00134/0.00134, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002259/0.003599, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001382/0.001382, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001276/0.002658, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.9856/0.9856, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09135/1.077, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.2676/0.2676, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03541/0.303, allocations: 13.1 MB / 291.5 MB, free: 7.336 MB / 282.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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 292.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.257e-05, allocations: 7.406 kB / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002557/0.00258, allocations: 1.811 MB / 294.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.004694, allocations: 1.774 MB / 296.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.264e-05/0.004777, allocations: 3.938 kB / 296.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.004987, allocations: 35.77 kB / 296.6 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.00526, allocations: 104.4 kB / 296.7 MB, free: 2.375 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.005449, allocations: 83.55 kB / 296.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.005608, allocations: 111.6 kB / 296.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/0.005697, allocations: 8 kB / 296.9 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.005827, allocations: 83.75 kB / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.005939, allocations: 35.89 kB / 297 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.005955, allocations: 4 kB / 297 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.006155, allocations: 107.8 kB / 297.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.006208, allocations: 15.88 kB / 297.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.006249, allocations: 16 kB / 297.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.006519, allocations: 151.4 kB / 297.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-05/0.006534, allocations: 7.984 kB / 297.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.006535, allocations: 0 / 297.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.006549, allocations: 0 / 297.3 MB, free: 1.762 MB / 282.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.0005753/0.007124, allocations: 348.9 kB / 297.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.007161, allocations: 12.03 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.007205, allocations: 16.84 kB / 297.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.007408, allocations: 138.2 kB / 297.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.007427, allocations: 384 / 297.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.007453, allocations: 8.375 kB / 297.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.007627, allocations: 112.5 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.007637, allocations: 0 / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.007646, allocations: 0 / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.007652, allocations: 0 / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.013e-05/0.007682, allocations: 14.77 kB / 297.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.007928, allocations: 166 kB / 298.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.008038, allocations: 85.34 kB / 298.1 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.008064, allocations: 20.78 kB / 298.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.008081, allocations: 4 kB / 298.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.008216, allocations: 62.22 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.008218, allocations: 3.938 kB / 298.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003954/0.008613, allocations: 113.6 kB / 298.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.008639, allocations: 59.34 kB / 298.4 MB, free: 500 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/0.008738, allocations: 159.4 kB / 298.6 MB, free: 328 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.008754, allocations: 29.7 kB / 298.6 MB, free: 292 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.008785, allocations: 88.12 kB / 298.7 MB, free: 200 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.008811, allocations: 31.77 kB / 298.7 MB, free: 168 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.00884, allocations: 29.7 kB / 298.7 MB, free: 132 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.00893, allocations: 322.8 kB / 299.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.008947, allocations: 10.81 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.48e-05/0.008981, allocations: 52.28 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.296e-05/0.009024, allocations: 52.38 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.009025, allocations: 0 / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.664e-05/0.009102, allocations: 68.56 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.009113, allocations: 4 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.009117, allocations: 3.938 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.009129, allocations: 4.062 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.009193, allocations: 23.92 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.009196, allocations: 0 / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.00923, allocations: 11.95 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.009235, allocations: 0 / 299.3 MB, free: 15.55 MB / 298.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 7.265e-05/0.009307, allocations: 121.6 kB / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.00932, allocations: 11.98 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.009422, allocations: 70.39 kB / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.009424, allocations: 0 / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.009426, allocations: 0 / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.009429, allocations: 4 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.009674, allocations: 303.4 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.009676, allocations: 0 / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.99e-05/0.009706, allocations: 12 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.009718, allocations: 15.94 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.009721, allocations: 0 / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.009726, allocations: 0 / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.009728, allocations: 0 / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.00973, allocations: 4 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.766e-05/0.009828, allocations: 211 kB / 300 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.009844, allocations: 8.031 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.302e-05/0.009887, allocations: 12.34 kB / 300 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.009914, allocations: 7.984 kB / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.009926, allocations: 4 kB / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.971e-05/0.009966, allocations: 45.89 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009966, allocations: 0 / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.01014, allocations: 55.73 kB / 300.1 MB, free: 14.61 MB / 298.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.001742/0.01188, allocations: 0.7859 MB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.01199, allocations: 36.84 kB / 301 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.012, allocations: 4 kB / 301 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.031e-05/0.01204, allocations: 32.72 kB / 301 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.01229, allocations: 185.4 kB / 301.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.01275, allocations: 204 kB / 301.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.691e-05/0.01279, allocations: 67.34 kB / 301.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.702e-05/0.01283, allocations: 16.95 kB / 301.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.703e-05/0.01291, allocations: 75.36 kB / 301.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of SimCode: time 1.323e-06/0.01291, allocations: 0 / 301.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of Templates: time 0.004483/0.01739, allocations: 2.816 MB / 304.4 MB, free: 10.76 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8763579102233052]