Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009916/0.0009916, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001163/0.001163, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.062/1.062, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.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.3912/0.3912, allocations: 34.26 MB / 296.1 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 179] 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 378.6 MB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.918e-05, allocations: 2.312 kB / 378.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002689/0.002708, allocations: 1.757 MB / 380.3 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.004072, allocations: 0.9975 MB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.282e-05/0.004165, allocations: 4 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.004453, allocations: 35.7 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.004748, allocations: 107.5 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.004897, allocations: 75.67 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.005051, allocations: 111.5 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.152e-05/0.005143, allocations: 8 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.808e-05/0.005231, allocations: 47.91 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.398e-05/0.005305, allocations: 31.89 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.005319, allocations: 7.938 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.716e-05/0.005396, allocations: 47.86 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.005447, allocations: 23.91 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.005481, allocations: 15.94 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.005643, allocations: 103.7 kB / 382 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.005645, allocations: 0 / 382 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005645, allocations: 0 / 382 MB, free: 14.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.00565, allocations: 0 / 382 MB, free: 14.92 MB / 362.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.0004416/0.006091, allocations: 451.8 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.006133, allocations: 12.03 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.006172, allocations: 12.84 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.006318, allocations: 153.1 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.006336, allocations: 4.375 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.006353, allocations: 4.359 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.006462, allocations: 66.94 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.006472, allocations: 3.938 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.00648, allocations: 0 / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.006486, allocations: 0 / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.67e-05/0.006513, allocations: 11.98 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.006766, allocations: 264.3 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.863e-05/0.006854, allocations: 59.14 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.006876, allocations: 15.69 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.006891, allocations: 0 / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.228e-05/0.006984, allocations: 76.92 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.006985, allocations: 0 / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003119/0.007297, allocations: 129.5 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.007326, allocations: 55.34 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.007454, allocations: 234.3 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.007467, allocations: 25.7 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.007524, allocations: 146.9 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.007554, allocations: 31.77 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.007587, allocations: 27.38 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.007717, allocations: 0.4962 MB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.007734, allocations: 15.98 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-05/0.00776, allocations: 27.36 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.469e-05/0.007805, allocations: 51.31 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.007806, allocations: 0 / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.383e-05/0.0079, allocations: 93.5 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.007911, allocations: 8 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.007916, allocations: 0 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.007928, allocations: 0 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.833e-05/0.007987, allocations: 15.94 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.007991, allocations: 8.031 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.008019, allocations: 4 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.008027, allocations: 7.984 kB / 384.4 MB, free: 12.23 MB / 362.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 7.42e-05/0.008101, allocations: 156.6 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.008118, allocations: 19.84 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.008249, allocations: 103 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.008252, allocations: 4 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.008254, allocations: 0 / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.008259, allocations: 0 / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.008514, allocations: 357.6 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.008516, allocations: 4 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/0.008541, allocations: 11.98 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.008544, allocations: 0 / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.008551, allocations: 4.375 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.008552, allocations: 0 / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.008555, allocations: 7.938 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.008687, allocations: 259.4 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-06/0.008697, allocations: 11.89 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.008711, allocations: 4 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.803e-05/0.008749, allocations: 8.016 kB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.008775, allocations: 8 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.008787, allocations: 7.984 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.671e-05/0.008853, allocations: 156.1 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.008854, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001564/0.00901, allocations: 27.94 kB / 385.5 MB, free: 11.03 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: 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.0008649/0.009875, allocations: 437.8 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.949e-05/0.009974, allocations: 55.58 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.009976, allocations: 4.062 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.68e-05/0.01001, allocations: 31.61 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.01023, allocations: 38.8 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.01054, allocations: 214 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.148e-05/0.01058, allocations: 67.34 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.796e-05/0.01062, allocations: 12.97 kB / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/0.01068, allocations: 90.19 kB / 386.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01068, allocations: 4.062 kB / 386.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of Templates: time 0.003744/0.01442, allocations: 2.044 MB / 388.5 MB, free: 8.176 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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.4653020231053233]