Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.001309/0.001309, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001912/0.00322, 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.001212/0.001212, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00158/0.002791, 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.9968/0.9968, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1841/1.181, allocations: 49.51 MB / 220.5 MB, free: 5.266 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.1592/0.1592, allocations: 32.35 MB / 253.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01982/0.179, allocations: 12.3 MB / 265.9 MB, free: 7.82 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 267.3 MB, free: 6.445 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.247e-05, allocations: 2.312 kB / 267.3 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002612/0.002624, allocations: 1.77 MB / 269.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.004052, allocations: 0.8075 MB / 269.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.587e-05/0.004118, allocations: 0 / 269.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.004319, allocations: 51.66 kB / 269.9 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.004458, allocations: 59.69 kB / 270 MB, free: 3.727 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.004614, allocations: 87.69 kB / 270.1 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.004738, allocations: 99.64 kB / 270.2 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.593e-05/0.004804, allocations: 8.219 kB / 270.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.00492, allocations: 71.84 kB / 270.2 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.00499, allocations: 23.91 kB / 270.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.005007, allocations: 4 kB / 270.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.191e-05/0.005079, allocations: 43.92 kB / 270.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.005121, allocations: 19.92 kB / 270.3 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.005154, allocations: 19.88 kB / 270.4 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.005294, allocations: 103.6 kB / 270.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.005308, allocations: 4 kB / 270.5 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005309, allocations: 0 / 270.5 MB, free: 3.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.005322, allocations: 0 / 270.5 MB, free: 3.25 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.0003957/0.005718, allocations: 343.8 kB / 270.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.631e-05/0.005744, allocations: 8.031 kB / 270.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.005773, allocations: 16.86 kB / 270.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.005916, allocations: 149.6 kB / 271 MB, free: 2.695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.00593, allocations: 384 / 271 MB, free: 2.695 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.005949, allocations: 8.312 kB / 271 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.006064, allocations: 61.77 kB / 271 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.006074, allocations: 7.938 kB / 271 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-06/0.006081, allocations: 0 / 271 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.006086, allocations: 0 / 271 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.868e-05/0.006115, allocations: 11.98 kB / 271.1 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.006307, allocations: 170 kB / 271.2 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.818e-05/0.006395, allocations: 93.22 kB / 271.3 MB, free: 2.312 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.006412, allocations: 8.859 kB / 271.3 MB, free: 2.301 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.006423, allocations: 0 / 271.3 MB, free: 2.301 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.017e-05/0.006513, allocations: 70.16 kB / 271.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/0.006514, allocations: 4 kB / 271.4 MB, free: 2.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002533/0.006767, allocations: 113.5 kB / 271.5 MB, free: 2.098 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.006792, allocations: 51.41 kB / 271.6 MB, free: 2.035 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.006894, allocations: 196.2 kB / 271.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.006907, allocations: 29.7 kB / 271.8 MB, free: 1.793 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.006939, allocations: 92.11 kB / 271.9 MB, free: 1.699 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.006959, allocations: 19.8 kB / 271.9 MB, free: 1.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.006989, allocations: 29.69 kB / 271.9 MB, free: 1.645 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.556e-05/0.007054, allocations: 326.8 kB / 272.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.007068, allocations: 6.828 kB / 272.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.058e-05/0.007088, allocations: 33.64 kB / 272.3 MB, free: 1.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.873e-05/0.007127, allocations: 44.58 kB / 272.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.007128, allocations: 4 kB / 272.3 MB, free: 1.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.156e-05/0.007189, allocations: 72.38 kB / 272.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/0.007198, allocations: 4 kB / 272.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.007202, allocations: 0 / 272.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-06/0.007208, allocations: 0 / 272.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.782e-05/0.007266, allocations: 19.98 kB / 272.4 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.007269, allocations: 32 / 272.4 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.007292, allocations: 8 kB / 272.4 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.007297, allocations: 4 kB / 272.4 MB, free: 1.102 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 5.466e-05/0.007352, allocations: 124.5 kB / 272.5 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.007365, allocations: 19.92 kB / 272.6 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.338e-05/0.007449, allocations: 71.12 kB / 272.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.00745, allocations: 0 / 272.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.007451, allocations: 0 / 272.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.007454, allocations: 0 / 272.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.007635, allocations: 299.4 kB / 272.9 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007636, allocations: 4.031 kB / 272.9 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/0.007662, allocations: 19.92 kB / 272.9 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.007672, allocations: 7.953 kB / 273 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.007673, allocations: 0 / 273 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.00768, allocations: 4 kB / 273 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007681, allocations: 0 / 273 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007681, allocations: 0 / 273 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.852e-05/0.00777, allocations: 223 kB / 273.2 MB, free: 292 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.007784, allocations: 4.375 kB / 273.2 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.424e-05/0.007819, allocations: 0 / 273.2 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.007842, allocations: 15.98 kB / 273.2 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.007856, allocations: 8 kB / 273.2 MB, free: 264 kB / 266.7 MB Notification: Performance of sorting global known variables: time 3.985e-05/0.007895, allocations: 56.7 kB / 273.3 MB, free: 204 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007895, allocations: 0 / 273.3 MB, free: 204 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001384/0.008034, allocations: 23.94 kB / 273.3 MB, free: 180 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.001203/0.009237, allocations: 0.6361 MB / 273.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.207e-05/0.009329, allocations: 44.78 kB / 274 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.009337, allocations: 4 kB / 274 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.7e-05/0.009364, allocations: 24.78 kB / 274 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.009531, allocations: 55.7 kB / 274 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.009961, allocations: 234.8 kB / 274.3 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.762e-05/0.009999, allocations: 75.27 kB / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.221e-05/0.01003, allocations: 12.48 kB / 274.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.01009, allocations: 75.34 kB / 274.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01009, allocations: 0 / 274.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of Templates: time 0.003666/0.01376, allocations: 2.037 MB / 276.5 MB, free: 12.92 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.939968683756888]