Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.0009641/0.0009641, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001261/0.002225, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007909/0.0007909, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009842/0.001775, allocations: 455.6 kB / 11.71 MB, free: 2.457 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 1.054/1.054, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09782/1.152, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.2754/0.2754, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02496/0.3004, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.382e-05, allocations: 2.312 kB / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.00321/0.003234, allocations: 1.805 MB / 292.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.00485, allocations: 1.021 MB / 293.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.00493, allocations: 0 / 293.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.005145, allocations: 43.36 kB / 293.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.00541, allocations: 83.08 kB / 293.6 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.005581, allocations: 81.52 kB / 293.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.005741, allocations: 111.6 kB / 293.8 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.861e-05/0.00582, allocations: 8.75 kB / 293.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.005936, allocations: 83.73 kB / 293.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.425e-05/0.00601, allocations: 23.92 kB / 293.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.006023, allocations: 4 kB / 293.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.496e-05/0.006098, allocations: 47.92 kB / 294 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.942e-05/0.006138, allocations: 15.92 kB / 294 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.00617, allocations: 15.94 kB / 294 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.006321, allocations: 99.59 kB / 294.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.592e-05/0.006337, allocations: 0 / 294.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006338, allocations: 0 / 294.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.006354, allocations: 0 / 294.1 MB, free: 4.773 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.0004931/0.006847, allocations: 328.6 kB / 294.4 MB, free: 4.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.006878, allocations: 8.031 kB / 294.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.006908, allocations: 8.922 kB / 294.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.007057, allocations: 152.7 kB / 294.6 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.007072, allocations: 4.375 kB / 294.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.007088, allocations: 4.375 kB / 294.6 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.007189, allocations: 65.75 kB / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.007199, allocations: 7.875 kB / 294.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.007206, allocations: 0 / 294.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.00721, allocations: 0 / 294.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.007235, allocations: 8 kB / 294.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.007422, allocations: 161.9 kB / 294.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.192e-05/0.007514, allocations: 93.27 kB / 294.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.007534, allocations: 16.92 kB / 295 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.007544, allocations: 0 / 295 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.881e-05/0.007633, allocations: 70.08 kB / 295 MB, free: 3.766 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.093e-06/0.007634, allocations: 0 / 295 MB, free: 3.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002808/0.007914, allocations: 109.7 kB / 295.1 MB, free: 3.652 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.007947, allocations: 51.41 kB / 295.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.155e-05/0.008039, allocations: 162.9 kB / 295.3 MB, free: 3.418 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.008052, allocations: 29.7 kB / 295.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.008084, allocations: 96.09 kB / 295.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.008109, allocations: 27.84 kB / 295.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.008142, allocations: 21.7 kB / 295.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.008225, allocations: 322.8 kB / 295.8 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/0.008245, allocations: 11.02 kB / 295.8 MB, free: 2.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.663e-05/0.008271, allocations: 29.69 kB / 295.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.071e-05/0.008312, allocations: 40.47 kB / 295.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.008313, allocations: 3.938 kB / 295.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.808e-05/0.008391, allocations: 76.38 kB / 296 MB, free: 2.727 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.008405, allocations: 8.031 kB / 296 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.00841, allocations: 0 / 296 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.008423, allocations: 4 kB / 296 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.607e-05/0.008489, allocations: 15.98 kB / 296 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.008493, allocations: 0 / 296 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/0.008519, allocations: 4 kB / 296 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.008525, allocations: 0 / 296 MB, free: 2.695 MB / 282.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.09e-05/0.008595, allocations: 128.6 kB / 296.1 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.008607, allocations: 11.94 kB / 296.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.008714, allocations: 78.38 kB / 296.2 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.008716, allocations: 4 kB / 296.2 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.008718, allocations: 0 / 296.2 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.008721, allocations: 0 / 296.2 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.008924, allocations: 295.5 kB / 296.5 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.008926, allocations: 0 / 296.5 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.008955, allocations: 19.98 kB / 296.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-06/0.008963, allocations: 3.953 kB / 296.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.008966, allocations: 4 kB / 296.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.008971, allocations: 3.938 kB / 296.6 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.008972, allocations: 0 / 296.6 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008973, allocations: 4.031 kB / 296.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.337e-05/0.009067, allocations: 219 kB / 296.8 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.009083, allocations: 7.984 kB / 296.8 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.577e-05/0.009119, allocations: 7.938 kB / 296.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.009142, allocations: 3.984 kB / 296.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.009153, allocations: 4 kB / 296.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.448e-05/0.009188, allocations: 41.19 kB / 296.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009188, allocations: 4 kB / 296.8 MB, free: 1.805 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001408/0.009328, allocations: 23.98 kB / 296.9 MB, free: 1.781 MB / 282.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.001431/0.01076, allocations: 0.6355 MB / 297.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.088e-05/0.01085, allocations: 44.72 kB / 297.5 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.01086, allocations: 0 / 297.5 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.02e-05/0.01089, allocations: 36.83 kB / 297.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.01107, allocations: 42.08 kB / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006483/0.01172, allocations: 216.1 kB / 297.8 MB, free: 1.137 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.925e-05/0.01176, allocations: 63.34 kB / 297.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.085e-05/0.01184, allocations: 17.27 kB / 297.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.01192, allocations: 67.36 kB / 298 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of SimCode: time 1.733e-06/0.01192, allocations: 64 / 298 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of Templates: time 0.003818/0.01574, allocations: 2.034 MB / 300 MB, free: 14.97 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.0100660491734743]