Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.0009682/0.0009682, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009884/0.0009884, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.035/1.035, allocations: 177.1 MB / 205 MB, free: 5.578 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.3011/0.3011, allocations: 32.81 MB / 294.3 MB, free: 1.207 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/2.963e-05, allocations: 2.312 kB / 376 MB, free: 4.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002448/0.002477, allocations: 1.646 MB / 377.7 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.003773, allocations: 1.274 MB / 378.9 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.003839, allocations: 4 kB / 379 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.00408, allocations: 19.86 kB / 379 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.004419, allocations: 91.42 kB / 379.1 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.004685, allocations: 91.7 kB / 379.2 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.004835, allocations: 71.7 kB / 379.2 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.004936, allocations: 11.98 kB / 379.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.278e-05/0.004999, allocations: 35.91 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.005101, allocations: 23.91 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.005119, allocations: 4 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.005276, allocations: 87.89 kB / 379.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.005325, allocations: 15.91 kB / 379.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.005357, allocations: 15.94 kB / 379.4 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.005599, allocations: 139.5 kB / 379.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.005602, allocations: 0 / 379.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.005605, allocations: 3.984 kB / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.00561, allocations: 0 / 379.6 MB, free: 1.07 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004464/0.006056, allocations: 424 kB / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.006095, allocations: 8.031 kB / 380 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/0.006156, allocations: 16.89 kB / 380 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.006316, allocations: 124.6 kB / 380.1 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.006326, allocations: 384 / 380.1 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.006352, allocations: 12.3 kB / 380.1 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.006506, allocations: 100 kB / 380.2 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.006515, allocations: 4.188 kB / 380.2 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.006528, allocations: 8.125 kB / 380.2 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.006537, allocations: 3.984 kB / 380.2 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.121e-05/0.006568, allocations: 7.984 kB / 380.2 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.006885, allocations: 283.7 kB / 380.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.007056, allocations: 39.06 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.00708, allocations: 15.77 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.007109, allocations: 7.938 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.007136, allocations: 37.39 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/0.007138, allocations: 4 kB / 380.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003628/0.007501, allocations: 93.47 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.00754, allocations: 77.11 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.007673, allocations: 201.9 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.007684, allocations: 25.7 kB / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.007735, allocations: 138.9 kB / 381.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.007757, allocations: 23.77 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.007792, allocations: 27.38 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.007915, allocations: 0.4884 MB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.007935, allocations: 7.938 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.949e-05/0.007974, allocations: 57.27 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/0.008016, allocations: 31.61 kB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.008017, allocations: 0 / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.43e-05/0.008102, allocations: 53.64 kB / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.008118, allocations: 9.875 kB / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.008124, allocations: 3.984 kB / 381.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.008138, allocations: 0 / 381.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.301e-05/0.008191, allocations: 11.94 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.008198, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.00823, allocations: 11.95 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.008236, allocations: 0 / 381.9 MB, free: 14.51 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 (5): * Single equations (assignments): 5 * 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.405e-05/0.00831, allocations: 164.6 kB / 382 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.008333, allocations: 11.89 kB / 382 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.008467, allocations: 62.16 kB / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.00847, allocations: 4 kB / 382.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.008475, allocations: 3.984 kB / 382.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.008479, allocations: 0 / 382.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.008734, allocations: 321.3 kB / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.008736, allocations: 0 / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.008771, allocations: 8 kB / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.008775, allocations: 4 kB / 382.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.008782, allocations: 4 kB / 382.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.008784, allocations: 192 / 382.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.008787, allocations: 4 kB / 382.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.008907, allocations: 211.8 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.008921, allocations: 11.94 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.008934, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.768e-05/0.008972, allocations: 8 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.009004, allocations: 3.984 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.009009, allocations: 4 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.075e-05/0.009079, allocations: 143.2 kB / 382.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00908, allocations: 4 kB / 382.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002214/0.009301, allocations: 39.86 kB / 382.9 MB, free: 13.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001225/0.01053, allocations: 496.8 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.01065, allocations: 39.62 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01065, allocations: 0 / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/0.01068, allocations: 19.67 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.01091, allocations: 23.92 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.01129, allocations: 161.9 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.467e-05/0.01133, allocations: 59.34 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.574e-05/0.01138, allocations: 11.98 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.01142, allocations: 24.48 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01142, allocations: 0 / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of Templates: time 0.004148/0.01557, allocations: 1.821 MB / 385.5 MB, free: 10.93 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.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.5171923781745136]