Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.001077/0.001077, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001689/0.002766, allocations: 452 kB / 10.43 MB, free: 264 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.001149/0.001149, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.002291, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.8799/0.8799, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1482/1.028, allocations: 49.51 MB / 220.7 MB, free: 1.355 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.121/0.121, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02265/0.1436, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.671e-05, allocations: 6.25 kB / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.004329/0.004356, allocations: 1.974 MB / 269.4 MB, free: 496 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.006089, allocations: 0.8541 MB / 270.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.006222, allocations: 0 / 270.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.006536, allocations: 51.58 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.006767, allocations: 63.58 kB / 270.4 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.007128, allocations: 103.6 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.007421, allocations: 139.6 kB / 270.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.00757, allocations: 38.25 kB / 270.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.007785, allocations: 92.55 kB / 270.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.007914, allocations: 39.83 kB / 270.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.007941, allocations: 8 kB / 270.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.008073, allocations: 51.86 kB / 270.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.873e-05/0.008142, allocations: 15.94 kB / 270.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.913e-05/0.008211, allocations: 27.88 kB / 270.9 MB, free: 15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.00854, allocations: 115.5 kB / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.631e-05/0.008556, allocations: 0 / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.008558, allocations: 0 / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.008572, allocations: 0 / 271 MB, free: 14.89 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007371/0.009309, allocations: 409.3 kB / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.009356, allocations: 12.03 kB / 271.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.149e-05/0.009417, allocations: 12.92 kB / 271.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.009688, allocations: 157.5 kB / 271.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.009712, allocations: 8.375 kB / 271.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.009744, allocations: 8.125 kB / 271.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.00999, allocations: 137.3 kB / 271.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.01, allocations: 3.938 kB / 271.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.01001, allocations: 4 kB / 271.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.01003, allocations: 7.984 kB / 271.8 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.502e-05/0.01009, allocations: 26.75 kB / 271.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.01063, allocations: 374.1 kB / 272.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.01089, allocations: 105.2 kB / 272.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.01093, allocations: 24.84 kB / 272.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.01095, allocations: 0 / 272.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.01112, allocations: 95.92 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.01113, allocations: 0 / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002224/0.01135, allocations: 77.81 kB / 272.5 MB, free: 13.31 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.01138, allocations: 55.41 kB / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.01157, allocations: 181 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.01159, allocations: 25.7 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.01167, allocations: 108 kB / 272.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.0117, allocations: 35.72 kB / 272.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.01176, allocations: 25.72 kB / 272.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.0119, allocations: 330.7 kB / 273.2 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-05/0.01193, allocations: 18.81 kB / 273.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.637e-05/0.01198, allocations: 48.22 kB / 273.3 MB, free: 12.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.01209, allocations: 69.84 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.01209, allocations: 0 / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001911/0.01229, allocations: 92.36 kB / 273.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.01231, allocations: 12.12 kB / 273.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.01232, allocations: 0 / 273.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.01234, allocations: 4 kB / 273.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.01246, allocations: 27.92 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.01247, allocations: 3.984 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.089e-05/0.01254, allocations: 15.94 kB / 273.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.01255, allocations: 7.938 kB / 273.5 MB, free: 12.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001121/0.01266, allocations: 120.6 kB / 273.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.01269, allocations: 11.98 kB / 273.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.01288, allocations: 75.08 kB / 273.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.01288, allocations: 8 kB / 273.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.01288, allocations: 0 / 273.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.01289, allocations: 7.922 kB / 273.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.01304, allocations: 93.8 kB / 273.8 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01304, allocations: 0 / 273.8 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-05/0.01313, allocations: 19.98 kB / 273.8 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.01315, allocations: 11.91 kB / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01316, allocations: 0 / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.01317, allocations: 3.938 kB / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01317, allocations: 0 / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01317, allocations: 4 kB / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.01338, allocations: 114.7 kB / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.01341, allocations: 7.938 kB / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.577e-05/0.01347, allocations: 8 kB / 274 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.0135, allocations: 3.984 kB / 274 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.01353, allocations: 7.984 kB / 274 MB, free: 11.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.152e-05/0.01361, allocations: 61.53 kB / 274 MB, free: 11.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01361, allocations: 0 / 274 MB, free: 11.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003089/0.01392, allocations: 27.94 kB / 274.1 MB, free: 11.55 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002315/0.01623, allocations: 0.5549 MB / 274.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.01638, allocations: 48.72 kB / 274.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.01639, allocations: 4 kB / 274.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/0.01646, allocations: 32.84 kB / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.01681, allocations: 239.8 kB / 274.9 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009078/0.01772, allocations: 268.4 kB / 275.2 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.369e-05/0.01778, allocations: 71.83 kB / 275.3 MB, free: 10.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.273e-05/0.01787, allocations: 25.05 kB / 275.3 MB, free: 10.21 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.01801, allocations: 71.36 kB / 275.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.01801, allocations: 0 / 275.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of Templates: time 0.006493/0.0245, allocations: 2.247 MB / 277.6 MB, free: 7.883 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6778525738045573]