Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.002074/0.002074, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.002443/0.002443, allocations: 157.3 kB / 23.51 MB, free: 0.8945 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 1.557/1.557, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.2141/0.2141, allocations: 32.37 MB / 270 MB, free: 14.79 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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.095e-05, allocations: 2.312 kB / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002196/0.002217, allocations: 1.808 MB / 348.8 MB, free: 7.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.003341, allocations: 0.8661 MB / 349.7 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.707e-05/0.003408, allocations: 0 / 349.7 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.003739, allocations: 163.4 kB / 349.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.003994, allocations: 143.4 kB / 350 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.004275, allocations: 147.5 kB / 350.1 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.004467, allocations: 219.3 kB / 350.3 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.212e-05/0.00455, allocations: 13.8 kB / 350.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.004677, allocations: 123.7 kB / 350.5 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.004799, allocations: 115.7 kB / 350.6 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.004822, allocations: 8 kB / 350.6 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.748e-05/0.004899, allocations: 55.91 kB / 350.7 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.941e-05/0.004959, allocations: 47.78 kB / 350.7 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.005011, allocations: 43.78 kB / 350.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.005205, allocations: 195.3 kB / 350.9 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005207, allocations: 0 / 350.9 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.005208, allocations: 0 / 350.9 MB, free: 5.785 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.005212, allocations: 0 / 350.9 MB, free: 5.785 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005326/0.005745, allocations: 460.6 kB / 351.4 MB, free: 5.305 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.005775, allocations: 8.031 kB / 351.4 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.324e-05/0.005838, allocations: 36.77 kB / 351.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.006066, allocations: 208.8 kB / 351.6 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.006082, allocations: 4.359 kB / 351.6 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.006109, allocations: 4.375 kB / 351.6 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.006298, allocations: 103.9 kB / 351.7 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.006312, allocations: 7.938 kB / 351.7 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.006324, allocations: 0 / 351.7 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.006328, allocations: 0 / 351.7 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.006449, allocations: 43.95 kB / 351.8 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.006817, allocations: 380.6 kB / 352.2 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.007064, allocations: 121.2 kB / 352.3 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.445e-05/0.007149, allocations: 37.7 kB / 352.3 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.007167, allocations: 4 kB / 352.3 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.007356, allocations: 117 kB / 352.4 MB, free: 4.133 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.133e-06/0.007357, allocations: 0 / 352.4 MB, free: 4.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007963/0.008153, allocations: 376.7 kB / 352.8 MB, free: 3.758 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.008178, allocations: 85.09 kB / 352.9 MB, free: 3.656 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.008437, allocations: 364.2 kB / 353.2 MB, free: 3.289 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.00845, allocations: 25.7 kB / 353.3 MB, free: 3.258 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.008504, allocations: 144.3 kB / 353.4 MB, free: 3.113 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.008538, allocations: 47.64 kB / 353.5 MB, free: 3.066 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.008584, allocations: 37.7 kB / 353.5 MB, free: 3.023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.318e-05/0.008638, allocations: 342.7 kB / 353.8 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.353e-05/0.008731, allocations: 43.98 kB / 353.9 MB, free: 2.637 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.651e-05/0.008828, allocations: 75.39 kB / 353.9 MB, free: 2.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.009011, allocations: 131.5 kB / 354.1 MB, free: 2.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.009012, allocations: 0 / 354.1 MB, free: 2.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002856/0.009298, allocations: 186.2 kB / 354.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.00931, allocations: 8 kB / 354.3 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.009315, allocations: 0 / 354.3 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.009334, allocations: 3.984 kB / 354.3 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.009461, allocations: 39.92 kB / 354.3 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.009466, allocations: 4.062 kB / 354.3 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.562e-05/0.009541, allocations: 4 kB / 354.3 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.009553, allocations: 16 kB / 354.3 MB, free: 2.148 MB / 282.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 8.361e-05/0.009637, allocations: 157.7 kB / 354.5 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.009677, allocations: 31.81 kB / 354.5 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.01003, allocations: 215.3 kB / 354.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01003, allocations: 0 / 354.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01004, allocations: 0 / 354.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01004, allocations: 7.984 kB / 354.7 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.01057, allocations: 0.5614 MB / 355.3 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.01058, allocations: 4 kB / 355.3 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.01064, allocations: 23.88 kB / 355.3 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.01064, allocations: 0 / 355.3 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.01065, allocations: 15.97 kB / 355.3 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.01066, allocations: 4.312 kB / 355.3 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01066, allocations: 3.938 kB / 355.3 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.01096, allocations: 388.1 kB / 355.7 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.01099, allocations: 31.91 kB / 355.8 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.01102, allocations: 4 kB / 355.8 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.01117, allocations: 8 kB / 355.8 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.01121, allocations: 15.91 kB / 355.8 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.01123, allocations: 12 kB / 355.8 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001686/0.0114, allocations: 271 kB / 356.1 MB, free: 344 kB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0114, allocations: 0 / 356.1 MB, free: 344 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003208/0.01172, allocations: 47.88 kB / 356.1 MB, free: 296 kB / 282.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.002145/0.01387, allocations: 0.4884 MB / 356.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003513/0.01422, allocations: 127.8 kB / 356.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01422, allocations: 0 / 356.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.01437, allocations: 60.17 kB / 356.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.01494, allocations: 65.98 kB / 356.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008805/0.01582, allocations: 458.4 kB / 357.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.01599, allocations: 136.8 kB / 357.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.854e-05/0.01609, allocations: 38.17 kB / 357.5 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.01616, allocations: 28.48 kB / 357.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01616, allocations: 0 / 357.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of Templates: time 0.007631/0.02379, allocations: 2.907 MB / 360.4 MB, free: 12.08 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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: 5.08913475391455]