Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001494/0.001494, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001222/0.001222, allocations: 168.5 kB / 24.99 MB, free: 8.344 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2571/0.2571, allocations: 32.8 MB / 294.6 MB, free: 1.305 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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.648e-05, allocations: 2.312 kB / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002471/0.002498, allocations: 1.665 MB / 377.7 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008062/0.003304, allocations: 0.5336 MB / 378.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.182e-05/0.003366, allocations: 0 / 378.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.003641, allocations: 99.61 kB / 378.3 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.003922, allocations: 111.6 kB / 378.4 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.004175, allocations: 95.62 kB / 378.5 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.004331, allocations: 83.75 kB / 378.6 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.004432, allocations: 15.92 kB / 378.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.937e-05/0.004502, allocations: 47.83 kB / 378.7 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.88e-05/0.004591, allocations: 59.86 kB / 378.7 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.004605, allocations: 0 / 378.7 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-05/0.004688, allocations: 47.98 kB / 378.8 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.004736, allocations: 19.92 kB / 378.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.004766, allocations: 15.92 kB / 378.8 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.004933, allocations: 91.61 kB / 378.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.004936, allocations: 3.984 kB / 378.9 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004937, allocations: 0 / 378.9 MB, free: 2.094 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.004942, allocations: 0 / 378.9 MB, free: 2.094 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006444/0.005587, allocations: 455.8 kB / 379.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.005625, allocations: 8.031 kB / 379.3 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.005674, allocations: 12.89 kB / 379.4 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.005821, allocations: 160.4 kB / 379.5 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.005829, allocations: 384 / 379.5 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.00585, allocations: 4.375 kB / 379.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.005983, allocations: 54.95 kB / 379.6 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.005996, allocations: 192 / 379.6 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.00601, allocations: 8.125 kB / 379.6 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.006019, allocations: 0 / 379.6 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.136e-05/0.006061, allocations: 15.92 kB / 379.6 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.00638, allocations: 299.7 kB / 379.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.947e-05/0.006449, allocations: 39.05 kB / 379.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/0.006474, allocations: 23.56 kB / 379.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.006495, allocations: 11.92 kB / 380 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.006515, allocations: 33.39 kB / 380 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.006516, allocations: 0 / 380 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005488/0.007065, allocations: 169.4 kB / 380.2 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.007096, allocations: 55.39 kB / 380.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.007245, allocations: 245.9 kB / 380.5 MB, free: 372 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.007255, allocations: 29.69 kB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.007313, allocations: 158.8 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.00734, allocations: 35.73 kB / 380.7 MB, free: 136 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.00737, allocations: 23.38 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.007492, allocations: 0.5 MB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.007517, allocations: 11.98 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.007535, allocations: 8 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.416e-05/0.007589, allocations: 43.83 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.00759, allocations: 0 / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.285e-05/0.007683, allocations: 77.7 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.007695, allocations: 4 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.0077, allocations: 4 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.007713, allocations: 4 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.427e-05/0.007797, allocations: 15.98 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.007803, allocations: 4 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.991e-05/0.007822, allocations: 0 / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.007829, allocations: 4 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.268e-05/0.007901, allocations: 164.5 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.007924, allocations: 15.91 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.008074, allocations: 87.12 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.008076, allocations: 4 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.00808, allocations: 0 / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.008083, allocations: 4 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.008391, allocations: 380.9 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.008394, allocations: 7.938 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/0.008438, allocations: 15.94 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.00844, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.00845, allocations: 4 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.008452, allocations: 4 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.008455, allocations: 3.984 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.008581, allocations: 231.5 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.008592, allocations: 7.953 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.008604, allocations: 4.031 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.545e-05/0.008639, allocations: 8 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.008672, allocations: 15.86 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.008676, allocations: 0 / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.142e-05/0.008757, allocations: 179.1 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008758, allocations: 0 / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.00893, allocations: 19.94 kB / 382.5 MB, free: 14.19 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009261/0.009857, allocations: 439.3 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.009973, allocations: 47.66 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.009975, allocations: 0 / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.307e-05/0.01001, allocations: 35.61 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.01023, allocations: 15.98 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.0106, allocations: 237.8 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.118e-05/0.01064, allocations: 71.27 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.189e-05/0.01068, allocations: 21.08 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.01071, allocations: 16.5 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01071, allocations: 0 / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of Templates: time 0.003244/0.01395, allocations: 1.386 MB / 384.7 MB, free: 12.04 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.247439142083749]