Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001287/0.001287, allocations: 73.11 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002204/0.003491, allocations: 453.8 kB / 10.45 MB, free: 248 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.0008798/0.0008798, allocations: 157.2 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001167/0.002047, allocations: 479.5 kB / 11.82 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.983/0.983, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1236/1.107, 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.264/0.264, allocations: 34.25 MB / 278.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02898/0.293, allocations: 13.1 MB / 291.5 MB, free: 7.344 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.145e-06/2.145e-06, allocations: 0 / 292.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.434e-05, allocations: 3.859 kB / 292.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003663/0.003697, allocations: 1.985 MB / 294.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.005227, allocations: 1.119 MB / 296 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.823e-05/0.005326, allocations: 0 / 296 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.005604, allocations: 171.2 kB / 296.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.005943, allocations: 199.1 kB / 296.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.006225, allocations: 127.4 kB / 296.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.006506, allocations: 247.2 kB / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.887e-05/0.006605, allocations: 18.61 kB / 296.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.006823, allocations: 192.8 kB / 297 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.006966, allocations: 107.7 kB / 297.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.00699, allocations: 12 kB / 297.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.007105, allocations: 71.84 kB / 297.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.00717, allocations: 43.8 kB / 297.2 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.007212, allocations: 35.88 kB / 297.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.007432, allocations: 175.3 kB / 297.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.62e-05/0.007448, allocations: 7.938 kB / 297.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.007449, allocations: 0 / 297.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.007461, allocations: 0 / 297.4 MB, free: 1.594 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00064/0.008101, allocations: 491.9 kB / 297.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.008134, allocations: 8.031 kB / 297.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.008184, allocations: 16.92 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.008403, allocations: 213.8 kB / 298.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.008425, allocations: 8.359 kB / 298.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.008452, allocations: 12.38 kB / 298.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.008624, allocations: 101.3 kB / 298.3 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.008636, allocations: 3.938 kB / 298.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.008647, allocations: 8 kB / 298.3 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.008653, allocations: 0 / 298.3 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.733e-05/0.008701, allocations: 33.56 kB / 298.3 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.009033, allocations: 296.8 kB / 298.6 MB, free: 352 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.009271, allocations: 186.7 kB / 298.8 MB, free: 144 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.009306, allocations: 37.88 kB / 298.8 MB, free: 100 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.009321, allocations: 8 kB / 298.8 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.009469, allocations: 99.97 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.62e-07/0.00947, allocations: 3.844 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.000671/0.01014, allocations: 325.2 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.01018, allocations: 85.09 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.01038, allocations: 284.7 kB / 299.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.01041, allocations: 37.7 kB / 299.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.01047, allocations: 117.2 kB / 299.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.434e-05/0.01053, allocations: 75.39 kB / 299.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.01059, allocations: 41.69 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.0107, allocations: 346.7 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.937e-05/0.01074, allocations: 22.81 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.0108, allocations: 57.97 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.01091, allocations: 109.9 kB / 300.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01092, allocations: 4 kB / 300.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001489/0.01106, allocations: 132.9 kB / 300.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.01108, allocations: 9.5 kB / 300.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.01109, allocations: 7.984 kB / 300.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.0111, allocations: 0 / 300.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.01121, allocations: 47.92 kB / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.01121, allocations: 0.9375 kB / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.01126, allocations: 19.86 kB / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.01126, allocations: 4 kB / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.238e-05/0.01136, allocations: 133.2 kB / 300.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.01139, allocations: 27.97 kB / 300.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.01159, allocations: 150.5 kB / 300.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.0116, allocations: 4 kB / 300.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.0116, allocations: 0 / 300.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.01161, allocations: 11.92 kB / 300.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.01201, allocations: 0.5477 MB / 301.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.01201, allocations: 8.125 kB / 301.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.01208, allocations: 35.92 kB / 301.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.0121, allocations: 31.73 kB / 301.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.01211, allocations: 4 kB / 301.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01212, allocations: 8 kB / 301.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.01212, allocations: 7.984 kB / 301.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.01213, allocations: 0 / 301.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.01235, allocations: 412.6 kB / 302 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.01237, allocations: 12 kB / 302 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.01245, allocations: 11.98 kB / 302 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.01249, allocations: 23.97 kB / 302 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.01251, allocations: 8 kB / 302 MB, free: 12.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.242e-05/0.0126, allocations: 119.5 kB / 302.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0126, allocations: 3.938 kB / 302.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000224/0.01282, allocations: 51.92 kB / 302.2 MB, free: 12.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00172/0.01454, allocations: 0.7203 MB / 302.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.01474, allocations: 104.6 kB / 303 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/0.01476, allocations: 8 kB / 303 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.862e-05/0.01483, allocations: 76.62 kB / 303.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.01526, allocations: 369.7 kB / 303.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007394/0.01599, allocations: 460.5 kB / 303.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.627e-05/0.01606, allocations: 104.3 kB / 304 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.335e-05/0.01614, allocations: 33.92 kB / 304.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.01626, allocations: 95.34 kB / 304.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of SimCode: time 1.502e-06/0.01627, allocations: 0 / 304.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of Templates: time 0.005679/0.02194, allocations: 3.668 MB / 307.8 MB, free: 7.211 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.863395801745355]