Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.0007163/0.0007163, allocations: 83.69 kB / 21.44 MB, free: 3.117 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.003836/0.003836, allocations: 156.5 kB / 24.7 MB, free: 8.902 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 0.9223/0.9223, allocations: 177.1 MB / 205 MB, free: 5.742 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.241/0.241, allocations: 32.79 MB / 294.2 MB, free: 1.23 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.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 440.9 MB, free: 3.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.159e-05, allocations: 8.109 kB / 440.9 MB, free: 3.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002889/0.002921, allocations: 1.719 MB / 442.7 MB, free: 1.902 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.004432, allocations: 0.9819 MB / 443.6 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.166e-05/0.004523, allocations: 0 / 443.6 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.004853, allocations: 51.69 kB / 443.7 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.005205, allocations: 103.5 kB / 443.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.005401, allocations: 79.61 kB / 443.9 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.005614, allocations: 127.7 kB / 444 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.005729, allocations: 11.97 kB / 444 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.005838, allocations: 75.7 kB / 444.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.005941, allocations: 55.81 kB / 444.1 MB, free: 428 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.005961, allocations: 4 kB / 444.1 MB, free: 424 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.006076, allocations: 59.91 kB / 444.2 MB, free: 364 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.006141, allocations: 27.92 kB / 444.2 MB, free: 336 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.00619, allocations: 27.91 kB / 444.3 MB, free: 308 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.006427, allocations: 155.5 kB / 444.4 MB, free: 152 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.006435, allocations: 0 / 444.4 MB, free: 152 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.006436, allocations: 0 / 444.4 MB, free: 152 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.006441, allocations: 0 / 444.4 MB, free: 152 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.1937/0.2001, allocations: 366.3 kB / 444.8 MB, free: 46.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.2002, allocations: 12.19 kB / 444.8 MB, free: 46.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.18e-05/0.2002, allocations: 16.59 kB / 444.8 MB, free: 46.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.2005, allocations: 155.4 kB / 444.9 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.2006, allocations: 7.094 kB / 445 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.2006, allocations: 4.281 kB / 445 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.2008, allocations: 75.66 kB / 445 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2008, allocations: 3.281 kB / 445 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.2008, allocations: 5.188 kB / 445 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.2008, allocations: 0.5625 kB / 445 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.396e-05/0.2009, allocations: 55.09 kB / 445.1 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.2012, allocations: 269 kB / 445.4 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.2014, allocations: 90.19 kB / 445.4 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.225e-05/0.2015, allocations: 35.56 kB / 445.5 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.2015, allocations: 6.375 kB / 445.5 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/0.2016, allocations: 86.56 kB / 445.6 MB, free: 46.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.2016, allocations: 0 / 445.6 MB, free: 46.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005457/0.2022, allocations: 323.6 kB / 445.9 MB, free: 46.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.2022, allocations: 54.34 kB / 445.9 MB, free: 46.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.2023, allocations: 209.5 kB / 446.1 MB, free: 46.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.2023, allocations: 31.7 kB / 446.2 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.2023, allocations: 109.7 kB / 446.3 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.2024, allocations: 44.77 kB / 446.3 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.2024, allocations: 31.62 kB / 446.4 MB, free: 45.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.346e-05/0.2024, allocations: 325.2 kB / 446.7 MB, free: 45.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.2025, allocations: 41.23 kB / 446.7 MB, free: 45.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.031e-05/0.2025, allocations: 57.73 kB / 446.8 MB, free: 45.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.701e-05/0.2026, allocations: 107.6 kB / 446.9 MB, free: 45.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2026, allocations: 0 / 446.9 MB, free: 45.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001396/0.2028, allocations: 173.4 kB / 447 MB, free: 45.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.2028, allocations: 6.281 kB / 447.1 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2028, allocations: 3.125 kB / 447.1 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2028, allocations: 0 / 447.1 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.29e-05/0.2028, allocations: 24.36 kB / 447.1 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2028, allocations: 7.219 kB / 447.1 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.669e-05/0.2029, allocations: 6.969 kB / 447.1 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.2029, allocations: 3.219 kB / 447.1 MB, free: 45.4 MB / 410.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 (15): * Single equations (assignments): 15 * 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.484e-05/0.2029, allocations: 134.2 kB / 447.2 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.2029, allocations: 19.66 kB / 447.2 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.2031, allocations: 196.4 kB / 447.4 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2031, allocations: 4.875 kB / 447.4 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2031, allocations: 0 / 447.4 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2031, allocations: 3.938 kB / 447.4 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.2035, allocations: 457.9 kB / 447.9 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2035, allocations: 0 / 447.9 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.2035, allocations: 26.14 kB / 447.9 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2035, allocations: 0 / 447.9 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.2035, allocations: 2.469 kB / 447.9 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2035, allocations: 6.25 kB / 447.9 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2035, allocations: 0 / 447.9 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.2037, allocations: 285.6 kB / 448.2 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.2037, allocations: 13.62 kB / 448.2 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.2037, allocations: 5.984 kB / 448.2 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.088e-05/0.2037, allocations: 7.094 kB / 448.2 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.2038, allocations: 15.45 kB / 448.2 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.2038, allocations: 17.66 kB / 448.3 MB, free: 44.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.175e-05/0.2038, allocations: 153.8 kB / 448.4 MB, free: 44.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2038, allocations: 1.531 kB / 448.4 MB, free: 44.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.204, allocations: 34.84 kB / 448.5 MB, free: 44.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.00081/0.2048, allocations: 0.5542 MB / 449 MB, free: 44.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.205, allocations: 106.6 kB / 449.1 MB, free: 44.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.205, allocations: 0 / 449.1 MB, free: 44.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.984e-05/0.205, allocations: 59.42 kB / 449.2 MB, free: 44.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.2053, allocations: 37.02 kB / 449.2 MB, free: 44.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.2056, allocations: 322 kB / 449.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.257e-05/0.2057, allocations: 111.1 kB / 449.6 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.2057, allocations: 27.72 kB / 449.7 MB, free: 43.98 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2057, allocations: 0 / 449.7 MB, free: 43.98 MB / 410.7 MB Notification: Performance of Templates: time 0.002846/0.2086, allocations: 2.505 MB / 452.2 MB, free: 43.69 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.98693866841495]