Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.0009527/0.0009527, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001035/0.001035, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9389/0.9389, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2571/0.2571, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.266e-05, allocations: 4.984 kB / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003011/0.003034, allocations: 1.764 MB / 327.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.004514, allocations: 1.01 MB / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.004646, allocations: 0 / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.00496, allocations: 51.69 kB / 328.2 MB, free: 4.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.005254, allocations: 99.53 kB / 328.3 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.005464, allocations: 79.61 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.005623, allocations: 116.1 kB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.821e-05/0.005701, allocations: 4 kB / 328.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.834e-05/0.00579, allocations: 55.77 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.619e-05/0.005856, allocations: 27.91 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.005871, allocations: 4 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.525e-05/0.005956, allocations: 43.92 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.006002, allocations: 27.91 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.006033, allocations: 19.88 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.006195, allocations: 103.6 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.006198, allocations: 4 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.006199, allocations: 0 / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.006203, allocations: 3.938 kB / 328.7 MB, free: 4.195 MB / 298.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.0003706/0.006574, allocations: 341.4 kB / 329.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.006607, allocations: 8.031 kB / 329.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.006637, allocations: 4.938 kB / 329.1 MB, free: 3.828 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.007065, allocations: 154.4 kB / 329.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.007081, allocations: 4.375 kB / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.007098, allocations: 384 / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.007203, allocations: 65.77 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.007212, allocations: 7.938 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.007218, allocations: 0 / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.007223, allocations: 0 / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.366e-05/0.007247, allocations: 15.92 kB / 329.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.007443, allocations: 170 kB / 329.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.243e-05/0.007526, allocations: 89.27 kB / 329.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.945e-05/0.007545, allocations: 12.86 kB / 329.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.007555, allocations: 0 / 329.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.92e-05/0.007635, allocations: 74.09 kB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.007636, allocations: 0 / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002814/0.007917, allocations: 109.5 kB / 329.8 MB, free: 3.051 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.00795, allocations: 51.41 kB / 329.8 MB, free: 2.988 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.008059, allocations: 201.6 kB / 330 MB, free: 2.777 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.008074, allocations: 29.7 kB / 330 MB, free: 2.742 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.008105, allocations: 96.06 kB / 330.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.008129, allocations: 23.78 kB / 330.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.008159, allocations: 25.7 kB / 330.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.118e-05/0.00823, allocations: 326.8 kB / 330.5 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.008247, allocations: 14.83 kB / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.344e-05/0.00827, allocations: 26.08 kB / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.189e-05/0.008312, allocations: 48.45 kB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.008313, allocations: 0 / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.442e-05/0.008388, allocations: 76.38 kB / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.008398, allocations: 4 kB / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.008404, allocations: 3.984 kB / 330.7 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.008416, allocations: 4 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/0.008475, allocations: 12 kB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.008478, allocations: 7.969 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.008504, allocations: 4 kB / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.00851, allocations: 4 kB / 330.7 MB, free: 2.039 MB / 298.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 6.388e-05/0.008573, allocations: 116.7 kB / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.008586, allocations: 11.94 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.93e-05/0.008686, allocations: 83.05 kB / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008688, allocations: 0 / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.008689, allocations: 0 / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.008692, allocations: 0 / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.008911, allocations: 303.6 kB / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.008912, allocations: 0 / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.008935, allocations: 8 kB / 331.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.008937, allocations: 4 kB / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.008942, allocations: 0 / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.008944, allocations: 0 / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.008946, allocations: 8.016 kB / 331.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.699e-05/0.009043, allocations: 223 kB / 331.4 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.009055, allocations: 11.91 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.009069, allocations: 0 / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.973e-05/0.009108, allocations: 8 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.009133, allocations: 15.95 kB / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.009143, allocations: 0 / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.115e-05/0.009194, allocations: 64.22 kB / 331.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009194, allocations: 0 / 331.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001443/0.009339, allocations: 27.94 kB / 331.6 MB, free: 1.098 MB / 298.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.001246/0.01059, allocations: 0.5718 MB / 332.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.812e-05/0.01068, allocations: 40.78 kB / 332.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.01069, allocations: 0 / 332.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.01073, allocations: 28.78 kB / 332.2 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.0109, allocations: 41.66 kB / 332.3 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.01122, allocations: 242.6 kB / 332.5 MB, free: 464 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.821e-05/0.01127, allocations: 75.33 kB / 332.6 MB, free: 368 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.668e-05/0.01131, allocations: 13.28 kB / 332.6 MB, free: 352 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.01137, allocations: 71.36 kB / 332.6 MB, free: 280 kB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01137, allocations: 0 / 332.6 MB, free: 280 kB / 298.7 MB Notification: Performance of Templates: time 0.003618/0.01499, allocations: 2.021 MB / 334.7 MB, free: 14.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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.9723355849273503]