Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.001049/0.001049, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00171/0.002758, allocations: 452 kB / 10.43 MB, free: 264 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.001069/0.001069, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002493, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8917/0.8917, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1693/1.061, allocations: 49.49 MB / 220.7 MB, free: 1.367 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.12/0.12, allocations: 32.35 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02314/0.1431, allocations: 12.32 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.945e-05, allocations: 6.25 kB / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002498/0.002517, allocations: 1.77 MB / 269.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009875/0.003505, allocations: 0.8114 MB / 270.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.003571, allocations: 3.938 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.003766, allocations: 47.7 kB / 270.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.0039, allocations: 51.64 kB / 270.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.004089, allocations: 91.7 kB / 270.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.00423, allocations: 99.58 kB / 270.3 MB, free: 15.58 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.678e-05/0.004297, allocations: 16.22 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.004399, allocations: 71.83 kB / 270.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/0.004464, allocations: 19.91 kB / 270.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.00448, allocations: 4 kB / 270.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.257e-05/0.004553, allocations: 47.86 kB / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.685e-05/0.00459, allocations: 19.92 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.004615, allocations: 15.94 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.004748, allocations: 87.62 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.004759, allocations: 4 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004759, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.004767, allocations: 0 / 270.6 MB, free: 15.3 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.000345/0.005112, allocations: 331.9 kB / 270.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.694e-05/0.005139, allocations: 8.031 kB / 271 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.005166, allocations: 12.92 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.005288, allocations: 145.5 kB / 271.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.005299, allocations: 384 / 271.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.005316, allocations: 8.312 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.255e-05/0.005399, allocations: 65.7 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.005407, allocations: 7.938 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.005413, allocations: 3.984 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.005417, allocations: 4 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.975e-05/0.005437, allocations: 7.984 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.0056, allocations: 173.9 kB / 271.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.337e-05/0.005673, allocations: 85.36 kB / 271.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.632e-05/0.005689, allocations: 8.859 kB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.005698, allocations: 0 / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.486e-05/0.005773, allocations: 74.09 kB / 271.5 MB, free: 14.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 6.91e-07/0.005774, allocations: 4 kB / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002838/0.006058, allocations: 117.5 kB / 271.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.006081, allocations: 55.41 kB / 271.7 MB, free: 14.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.745e-05/0.006179, allocations: 164.3 kB / 271.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.00619, allocations: 25.7 kB / 271.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.006218, allocations: 92.11 kB / 272 MB, free: 13.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.006241, allocations: 31.78 kB / 272 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.006265, allocations: 21.72 kB / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.006345, allocations: 326.8 kB / 272.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.006359, allocations: 10.83 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.935e-05/0.006378, allocations: 25.7 kB / 272.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/0.006414, allocations: 44.45 kB / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.006415, allocations: 0 / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.11e-05/0.006476, allocations: 72.38 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.006486, allocations: 4 kB / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.006489, allocations: 0 / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.006496, allocations: 0 / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.485e-05/0.006551, allocations: 23.98 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.006553, allocations: 0 / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.425e-05/0.006578, allocations: 11.97 kB / 272.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.006582, allocations: 0 / 272.5 MB, free: 13.19 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 5.339e-05/0.006635, allocations: 120.7 kB / 272.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.006647, allocations: 11.94 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.158e-05/0.006729, allocations: 82.5 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006731, allocations: 0 / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.006732, allocations: 3.938 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.006735, allocations: 0 / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.006918, allocations: 291.4 kB / 273 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.006919, allocations: 4.031 kB / 273.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-05/0.006943, allocations: 11.98 kB / 273.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.006953, allocations: 15.84 kB / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.006955, allocations: 4 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.006961, allocations: 4 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.006962, allocations: 0 / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006963, allocations: 384 / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.007083, allocations: 215 kB / 273.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.007097, allocations: 8 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.531e-05/0.007133, allocations: 4 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.007151, allocations: 11.98 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.00716, allocations: 4 kB / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.377e-05/0.007194, allocations: 48.52 kB / 273.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007194, allocations: 0 / 273.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001345/0.007329, allocations: 20 kB / 273.4 MB, free: 12.28 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.001127/0.008456, allocations: 0.6438 MB / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.152e-05/0.008537, allocations: 44.72 kB / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.008543, allocations: 0 / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.516e-05/0.008578, allocations: 28.84 kB / 274.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.008782, allocations: 176.3 kB / 274.3 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.009154, allocations: 226.7 kB / 274.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.783e-05/0.009191, allocations: 71.34 kB / 274.6 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.109e-05/0.009223, allocations: 12.95 kB / 274.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.00928, allocations: 67.36 kB / 274.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.00928, allocations: 0 / 274.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of Templates: time 0.003139/0.01242, allocations: 2.033 MB / 276.7 MB, free: 8.879 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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.7386643765494227]