Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.0007985/0.0007985, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.00187, 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.0006733/0.0006733, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.001685, 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.9004/0.9004, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1549/1.055, allocations: 49.49 MB / 220.7 MB, free: 1.371 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.1251/0.1251, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02445/0.1496, allocations: 12.3 MB / 266.1 MB, free: 3.883 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.495e-05, allocations: 6.25 kB / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.001919/0.001934, allocations: 1.774 MB / 269.3 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009452/0.00288, allocations: 0.8074 MB / 270.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.002946, allocations: 0 / 270.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.00313, allocations: 47.7 kB / 270.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.003271, allocations: 55.64 kB / 270.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.003471, allocations: 91.62 kB / 270.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.003621, allocations: 103.7 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.482e-05/0.003696, allocations: 8.219 kB / 270.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.003805, allocations: 67.83 kB / 270.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.444e-05/0.003879, allocations: 27.91 kB / 270.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.003896, allocations: 4 kB / 270.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.752e-05/0.003973, allocations: 47.86 kB / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.095e-05/0.004014, allocations: 15.92 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.004043, allocations: 15.94 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.004192, allocations: 91.62 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.004203, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004203, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.004213, allocations: 7.984 kB / 270.6 MB, free: 15.29 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.0004055/0.004619, allocations: 323.9 kB / 270.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.004648, allocations: 8.031 kB / 271 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.004682, allocations: 8.922 kB / 271 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.004827, allocations: 145.5 kB / 271.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.004842, allocations: 8.312 kB / 271.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.004858, allocations: 4.312 kB / 271.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.004961, allocations: 65.77 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.004971, allocations: 7.922 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.004977, allocations: 0 / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.004983, allocations: 7.984 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.214e-05/0.005006, allocations: 8 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.005196, allocations: 170 kB / 271.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.744e-05/0.005284, allocations: 89.22 kB / 271.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.005302, allocations: 12.86 kB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.005313, allocations: 0 / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.086e-05/0.005404, allocations: 74.14 kB / 271.5 MB, free: 14.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 6.91e-07/0.005404, allocations: 0 / 271.5 MB, free: 14.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003317/0.005736, allocations: 121.5 kB / 271.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.005762, allocations: 51.41 kB / 271.7 MB, free: 14.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.294e-05/0.005855, allocations: 168.3 kB / 271.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.00587, allocations: 29.7 kB / 271.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.005898, allocations: 88.12 kB / 272 MB, free: 13.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.005924, allocations: 27.78 kB / 272 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.005953, allocations: 21.72 kB / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.006024, allocations: 322.8 kB / 272.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.00604, allocations: 14.81 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.002e-05/0.00606, allocations: 25.66 kB / 272.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.626e-05/0.006096, allocations: 48.5 kB / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.006097, allocations: 0 / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.162e-05/0.006159, allocations: 68.39 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.006171, allocations: 11.98 kB / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.006174, allocations: 0 / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.006184, allocations: 0 / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.006241, allocations: 16 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.006243, allocations: 0 / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.006269, allocations: 7.922 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.006275, allocations: 12.03 kB / 272.6 MB, free: 13.18 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.747e-05/0.006333, allocations: 116.6 kB / 272.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.006345, allocations: 15.92 kB / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.349e-05/0.006439, allocations: 74.52 kB / 272.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.006442, allocations: 4 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.006443, allocations: 3.938 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.006446, allocations: 0 / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.006639, allocations: 291.4 kB / 273 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.00664, allocations: 0 / 273 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.055e-05/0.006671, allocations: 15.98 kB / 273.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.006681, allocations: 15.94 kB / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.006683, allocations: 0 / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.006688, allocations: 0 / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006689, allocations: 4 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.00669, allocations: 384 / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.472e-05/0.006785, allocations: 219 kB / 273.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.006801, allocations: 4 kB / 273.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.559e-05/0.006836, allocations: 4 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.006861, allocations: 11.98 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.00687, allocations: 0 / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.535e-05/0.006906, allocations: 52.52 kB / 273.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006906, allocations: 0 / 273.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001388/0.007045, allocations: 20 kB / 273.4 MB, free: 12.29 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.001177/0.008222, allocations: 0.6399 MB / 274 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.687e-05/0.008309, allocations: 52.69 kB / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.008316, allocations: 4 kB / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.282e-05/0.008349, allocations: 20.86 kB / 274.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.008557, allocations: 180.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.0004058/0.008962, allocations: 226.5 kB / 274.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.516e-05/0.008998, allocations: 67.53 kB / 274.6 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.706e-05/0.009035, allocations: 16.95 kB / 274.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.411e-05/0.009099, allocations: 67.36 kB / 274.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009099, allocations: 0 / 274.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of Templates: time 0.003279/0.01238, 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.Test30.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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.677391695789993]