Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001156/0.001156, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001318/0.001318, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.082/1.082, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2545/0.2545, allocations: 32.81 MB / 294.6 MB, free: 1.133 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.555e-05, allocations: 6.969 kB / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002532/0.002557, allocations: 1.77 MB / 325.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.003931, allocations: 1.009 MB / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.805e-05/0.004019, allocations: 4 kB / 326.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.004365, allocations: 91.56 kB / 326.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.004697, allocations: 123.4 kB / 326.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.004896, allocations: 79.59 kB / 326.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.005065, allocations: 123.6 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.005157, allocations: 16.59 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.005261, allocations: 75.73 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.005361, allocations: 55.89 kB / 326.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.005378, allocations: 7.984 kB / 326.7 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.647e-05/0.005474, allocations: 59.92 kB / 326.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.005529, allocations: 31.84 kB / 326.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.005564, allocations: 19.92 kB / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.005761, allocations: 123.5 kB / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.005766, allocations: 0 / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.005767, allocations: 0 / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.005772, allocations: 0 / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004583/0.006231, allocations: 337.3 kB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.006273, allocations: 12.03 kB / 327.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.006311, allocations: 12.92 kB / 327.2 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.006487, allocations: 154.3 kB / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.006502, allocations: 384 / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.006525, allocations: 8.312 kB / 327.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.006655, allocations: 73.73 kB / 327.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.006666, allocations: 3.938 kB / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.006675, allocations: 0 / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.006682, allocations: 0 / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.774e-05/0.00671, allocations: 15.97 kB / 327.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.006949, allocations: 181.9 kB / 327.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.007115, allocations: 89.23 kB / 327.8 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.007137, allocations: 16.98 kB / 327.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.007154, allocations: 3.984 kB / 327.8 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.007258, allocations: 78.2 kB / 327.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.007259, allocations: 3.938 kB / 327.9 MB, free: 4.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004265/0.007685, allocations: 166.2 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.007724, allocations: 63.34 kB / 328.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.007845, allocations: 197.6 kB / 328.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.007861, allocations: 25.7 kB / 328.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.007895, allocations: 100.1 kB / 328.4 MB, free: 4.363 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.007924, allocations: 35.67 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.007957, allocations: 25.72 kB / 328.5 MB, free: 4.297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.008048, allocations: 326.8 kB / 328.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.344e-05/0.008072, allocations: 18.81 kB / 328.8 MB, free: 3.949 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.059e-05/0.008102, allocations: 30.19 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.931e-05/0.008152, allocations: 45.78 kB / 328.9 MB, free: 3.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.008153, allocations: 7.938 kB / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.996e-05/0.008243, allocations: 86.17 kB / 329 MB, free: 3.766 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.008256, allocations: 8 kB / 329 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.00826, allocations: 0 / 329 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.008272, allocations: 0 / 329 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.008334, allocations: 23.92 kB / 329 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.008337, allocations: 0 / 329 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.008364, allocations: 4 kB / 329 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.00837, allocations: 4 kB / 329 MB, free: 3.727 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 (13): * Single equations (assignments): 13 * 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.166e-05/0.008441, allocations: 124.6 kB / 329.1 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.008455, allocations: 15.98 kB / 329.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.008578, allocations: 91.77 kB / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.008581, allocations: 0 / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.008583, allocations: 0 / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.008589, allocations: 3.984 kB / 329.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.008848, allocations: 328.2 kB / 329.6 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.008849, allocations: 0 / 329.6 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.008883, allocations: 19.92 kB / 329.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.008887, allocations: 4.062 kB / 329.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.008895, allocations: 8 kB / 329.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.008896, allocations: 0 / 329.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.008898, allocations: 0 / 329.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.009017, allocations: 235.8 kB / 329.8 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.009029, allocations: 11.91 kB / 329.8 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.009046, allocations: 4 kB / 329.8 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.343e-05/0.00909, allocations: 7.984 kB / 329.8 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.009126, allocations: 11.98 kB / 329.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.009143, allocations: 7.938 kB / 329.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.253e-05/0.009195, allocations: 64.22 kB / 329.9 MB, free: 2.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009195, allocations: 4 kB / 329.9 MB, free: 2.727 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001545/0.00935, allocations: 31.92 kB / 330 MB, free: 2.695 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001457/0.01081, allocations: 0.6536 MB / 330.6 MB, free: 2.383 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.01091, allocations: 52.66 kB / 330.7 MB, free: 2.332 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.01092, allocations: 4 kB / 330.7 MB, free: 2.328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.9e-05/0.01096, allocations: 32.78 kB / 330.7 MB, free: 2.293 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.01116, allocations: 43.41 kB / 330.7 MB, free: 2.254 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.01152, allocations: 260.3 kB / 331 MB, free: 1.969 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.558e-05/0.01156, allocations: 75.33 kB / 331.1 MB, free: 1.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.792e-05/0.0116, allocations: 16.64 kB / 331.1 MB, free: 1.859 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.01167, allocations: 71.36 kB / 331.2 MB, free: 1.789 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01167, allocations: 0 / 331.2 MB, free: 1.789 MB / 298.7 MB Notification: Performance of Templates: time 0.004135/0.01581, allocations: 2.307 MB / 333.5 MB, free: 15.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.072179439943284]