Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.001145/0.001145, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.000836/0.000836, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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.817/0.817, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.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.1304/0.1304, allocations: 32.37 MB / 270.4 MB, free: 14.97 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 4 kB / 408.2 MB, free: 1.652 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.755e-05, allocations: 6.078 kB / 408.2 MB, free: 1.648 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002209/0.002237, allocations: 1.793 MB / 410 MB, free: 15.84 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009612/0.003198, allocations: 0.87 MB / 410.9 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.003274, allocations: 3.938 kB / 410.9 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.003617, allocations: 167.3 kB / 411 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.00388, allocations: 135.5 kB / 411.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.004128, allocations: 147.6 kB / 411.3 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.004347, allocations: 223.2 kB / 411.5 MB, free: 14.3 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.004448, allocations: 13.8 kB / 411.5 MB, free: 14.28 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.00457, allocations: 127.6 kB / 411.7 MB, free: 14.16 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.004699, allocations: 119.7 kB / 411.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.004721, allocations: 12 kB / 411.8 MB, free: 14.03 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.168e-05/0.004803, allocations: 47.92 kB / 411.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.583e-05/0.004869, allocations: 51.77 kB / 411.9 MB, free: 13.93 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.807e-05/0.004917, allocations: 35.86 kB / 411.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.00513, allocations: 203.1 kB / 412.1 MB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.005133, allocations: 0 / 412.1 MB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005134, allocations: 4 kB / 412.1 MB, free: 13.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.005139, allocations: 0 / 412.1 MB, free: 13.69 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000476/0.005615, allocations: 448.8 kB / 412.6 MB, free: 13.22 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.005647, allocations: 12.03 kB / 412.6 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.005692, allocations: 24.8 kB / 412.6 MB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.005912, allocations: 196.8 kB / 412.8 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.005928, allocations: 12.31 kB / 412.8 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.005949, allocations: 4.375 kB / 412.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.006104, allocations: 103.8 kB / 412.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.006115, allocations: 3.938 kB / 412.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.006125, allocations: 0 / 412.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.00613, allocations: 0 / 412.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.01e-05/0.00621, allocations: 47.97 kB / 413 MB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.006552, allocations: 396.6 kB / 413.3 MB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.006728, allocations: 117.2 kB / 413.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.00678, allocations: 37.7 kB / 413.5 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.006793, allocations: 4 kB / 413.5 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.00694, allocations: 113 kB / 413.6 MB, free: 12.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 9.11e-07/0.006941, allocations: 0 / 413.6 MB, free: 12.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005821/0.007523, allocations: 376.7 kB / 414 MB, free: 11.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.007563, allocations: 85.09 kB / 414.1 MB, free: 11.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.007789, allocations: 360.2 kB / 414.4 MB, free: 11.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.007805, allocations: 33.7 kB / 414.4 MB, free: 11.19 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.007867, allocations: 136.4 kB / 414.6 MB, free: 11.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.007902, allocations: 47.64 kB / 414.6 MB, free: 11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.007946, allocations: 37.66 kB / 414.7 MB, free: 10.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.008031, allocations: 342.8 kB / 415 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/0.008094, allocations: 43.92 kB / 415 MB, free: 10.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.008168, allocations: 79.41 kB / 415.1 MB, free: 10.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.0083, allocations: 127.5 kB / 415.2 MB, free: 10.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.008302, allocations: 0 / 415.2 MB, free: 10.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001924/0.008494, allocations: 181.4 kB / 415.4 MB, free: 10.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.008506, allocations: 4 kB / 415.4 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.008511, allocations: 0 / 415.4 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.008524, allocations: 7.938 kB / 415.4 MB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.819e-05/0.008612, allocations: 35.98 kB / 415.5 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.008618, allocations: 4 kB / 415.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.008663, allocations: 11.98 kB / 415.5 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.008672, allocations: 4 kB / 415.5 MB, free: 10.1 MB / 394.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 (20): * Single equations (assignments): 20 * 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.657e-05/0.008769, allocations: 158.5 kB / 415.6 MB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.008791, allocations: 39.69 kB / 415.7 MB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.009045, allocations: 215.3 kB / 415.9 MB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.009049, allocations: 4 kB / 415.9 MB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.009053, allocations: 4 kB / 415.9 MB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.009056, allocations: 0 / 415.9 MB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/0.009502, allocations: 0.5693 MB / 416.5 MB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.009505, allocations: 4 kB / 416.5 MB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.009546, allocations: 27.92 kB / 416.5 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.009549, allocations: 4 kB / 416.5 MB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.009559, allocations: 4 kB / 416.5 MB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.009561, allocations: 0 / 416.5 MB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.009563, allocations: 3.938 kB / 416.5 MB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.009803, allocations: 384.3 kB / 416.9 MB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.009821, allocations: 23.8 kB / 416.9 MB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.009844, allocations: 8 kB / 416.9 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.009915, allocations: 11.98 kB / 416.9 MB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.009954, allocations: 15.92 kB / 416.9 MB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.009971, allocations: 7.984 kB / 416.9 MB, free: 8.547 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.01013, allocations: 275 kB / 417.2 MB, free: 8.277 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01013, allocations: 0 / 417.2 MB, free: 8.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.01035, allocations: 39.94 kB / 417.3 MB, free: 8.238 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 14 * 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.0007348/0.01108, allocations: 493.3 kB / 417.7 MB, free: 7.785 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.01128, allocations: 123.7 kB / 417.9 MB, free: 7.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01128, allocations: 4.125 kB / 417.9 MB, free: 7.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.58e-05/0.01135, allocations: 63.89 kB / 417.9 MB, free: 7.598 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.01169, allocations: 56.81 kB / 418 MB, free: 7.539 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.01223, allocations: 478.8 kB / 418.4 MB, free: 7.031 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.766e-05/0.01233, allocations: 149 kB / 418.6 MB, free: 6.863 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.01237, allocations: 28.5 kB / 418.6 MB, free: 6.836 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01237, allocations: 0 / 418.6 MB, free: 6.836 MB / 394.7 MB Notification: Performance of Templates: time 0.003462/0.01583, allocations: 3.241 MB / 421.9 MB, free: 3.594 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.737698425538838]