Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.001154/0.001154, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002079/0.003234, allocations: 447.8 kB / 10.35 MB, free: 348 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.001059/0.001059, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.002489, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9658/0.9658, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1649/1.131, allocations: 49.51 MB / 220.5 MB, free: 5.27 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.1541/0.1541, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02248/0.1766, allocations: 12.3 MB / 265.9 MB, free: 7.828 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 267.3 MB, free: 6.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.335e-05, allocations: 2.312 kB / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003878/0.003912, allocations: 1.77 MB / 269.1 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.005243, allocations: 0.8075 MB / 269.9 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.485e-05/0.005337, allocations: 4 kB / 269.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.005625, allocations: 43.7 kB / 269.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.005815, allocations: 51.7 kB / 270 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.006076, allocations: 83.69 kB / 270 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.006252, allocations: 99.66 kB / 270.1 MB, free: 3.578 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.006343, allocations: 8.219 kB / 270.1 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.006485, allocations: 75.83 kB / 270.2 MB, free: 3.496 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.627e-05/0.006571, allocations: 23.91 kB / 270.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.006599, allocations: 4 kB / 270.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.006702, allocations: 47.86 kB / 270.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.006751, allocations: 15.92 kB / 270.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.006793, allocations: 15.94 kB / 270.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.00698, allocations: 83.69 kB / 270.4 MB, free: 3.309 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.938e-05/0.007, allocations: 0 / 270.4 MB, free: 3.309 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.007001, allocations: 0 / 270.4 MB, free: 3.309 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.007019, allocations: 4 kB / 270.4 MB, free: 3.305 MB / 266.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.0006582/0.007677, allocations: 319.9 kB / 270.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.007713, allocations: 12.03 kB / 270.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.007755, allocations: 8.922 kB / 270.7 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.007952, allocations: 142.1 kB / 270.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.007972, allocations: 384 / 270.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.007991, allocations: 4.375 kB / 270.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.008143, allocations: 65.14 kB / 271 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.008155, allocations: 3.984 kB / 271 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.008163, allocations: 0 / 271 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.008172, allocations: 8 kB / 271 MB, free: 2.695 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.72e-05/0.00821, allocations: 7.984 kB / 271 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.008466, allocations: 169.9 kB / 271.1 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.008589, allocations: 93.27 kB / 271.2 MB, free: 2.402 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.008615, allocations: 12.8 kB / 271.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.008628, allocations: 0 / 271.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.008746, allocations: 66.22 kB / 271.3 MB, free: 2.309 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.008747, allocations: 0 / 271.3 MB, free: 2.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003453/0.009093, allocations: 113.5 kB / 271.4 MB, free: 2.191 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.009127, allocations: 51.41 kB / 271.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.00924, allocations: 152.2 kB / 271.6 MB, free: 1.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.00926, allocations: 37.69 kB / 271.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.009298, allocations: 95.94 kB / 271.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.009331, allocations: 27.83 kB / 271.8 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.009369, allocations: 21.66 kB / 271.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.009471, allocations: 330.7 kB / 272.1 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.009492, allocations: 14.77 kB / 272.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.99e-05/0.009522, allocations: 21.7 kB / 272.2 MB, free: 1.395 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.181e-05/0.009574, allocations: 48.58 kB / 272.2 MB, free: 1.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.009575, allocations: 0 / 272.2 MB, free: 1.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001055/0.009681, allocations: 68.44 kB / 272.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.009696, allocations: 4 kB / 272.3 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.009701, allocations: 0 / 272.3 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.009715, allocations: 7.984 kB / 272.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.034e-05/0.009805, allocations: 15.98 kB / 272.3 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.009808, allocations: 3.938 kB / 272.3 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.798e-05/0.009846, allocations: 11.94 kB / 272.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.009852, allocations: 4.031 kB / 272.3 MB, free: 1.219 MB / 266.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.607e-05/0.009928, allocations: 124.6 kB / 272.4 MB, free: 1.086 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.009944, allocations: 8 kB / 272.4 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.01007, allocations: 74.38 kB / 272.5 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01007, allocations: 0 / 272.5 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.01007, allocations: 0 / 272.5 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01007, allocations: 0 / 272.5 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.01033, allocations: 287.4 kB / 272.8 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01033, allocations: 0 / 272.8 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.01038, allocations: 12 kB / 272.8 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.01039, allocations: 19.95 kB / 272.8 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.0104, allocations: 0 / 272.8 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.0104, allocations: 4 kB / 272.8 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.01041, allocations: 0 / 272.8 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01041, allocations: 3.938 kB / 272.8 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.01053, allocations: 211.1 kB / 273 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.01055, allocations: 4.375 kB / 273 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.299e-05/0.01062, allocations: 7.984 kB / 273.1 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.01065, allocations: 4 kB / 273.1 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.01066, allocations: 11.92 kB / 273.1 MB, free: 412 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.14e-05/0.0107, allocations: 39.66 kB / 273.1 MB, free: 368 kB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0107, allocations: 0 / 273.1 MB, free: 368 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001995/0.0109, allocations: 20 kB / 273.1 MB, free: 348 kB / 266.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.001706/0.01261, allocations: 0.6478 MB / 273.8 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.01272, allocations: 40.84 kB / 273.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.01273, allocations: 4 kB / 273.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.727e-05/0.01276, allocations: 24.78 kB / 273.8 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.01299, allocations: 43.77 kB / 273.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008093/0.0138, allocations: 206.2 kB / 274.1 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.01385, allocations: 63.34 kB / 274.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.269e-05/0.01389, allocations: 16.61 kB / 274.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.01396, allocations: 75.3 kB / 274.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01396, allocations: 0 / 274.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of Templates: time 0.004403/0.01837, allocations: 2.01 MB / 276.3 MB, free: 13.14 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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: 2.857440515421331]