Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.0009233/0.0009233, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009018/0.0009018, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.9418/0.9418, allocations: 177.2 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2412/0.2412, allocations: 32.8 MB / 294.3 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.007e-05, allocations: 10.25 kB / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003071/0.003101, allocations: 1.715 MB / 377.8 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.004652, allocations: 0.9936 MB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.004723, allocations: 3.938 kB / 378.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.00508, allocations: 67.72 kB / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.005421, allocations: 111.5 kB / 379 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.005592, allocations: 67.69 kB / 379.1 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.005792, allocations: 119.5 kB / 379.2 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.005839, allocations: 4.234 kB / 379.2 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.478e-05/0.005934, allocations: 59.81 kB / 379.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.318e-05/0.006027, allocations: 43.89 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.006044, allocations: 4 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.006117, allocations: 35.92 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.006166, allocations: 23.91 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.006202, allocations: 11.94 kB / 379.4 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.006365, allocations: 91.66 kB / 379.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.006368, allocations: 0 / 379.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.00637, allocations: 0 / 379.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.006375, allocations: 0 / 379.4 MB, free: 1.227 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004456/0.00682, allocations: 443.9 kB / 379.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.006854, allocations: 8.031 kB / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.0069, allocations: 20.83 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.007059, allocations: 149.1 kB / 380.1 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.007077, allocations: 4.359 kB / 380.1 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.007089, allocations: 8.375 kB / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.007212, allocations: 54.89 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.00722, allocations: 3.938 kB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.007229, allocations: 3.984 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.007236, allocations: 0 / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.005e-05/0.007266, allocations: 12 kB / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.007409, allocations: 136.7 kB / 380.3 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.00751, allocations: 47.11 kB / 380.3 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.007543, allocations: 19.67 kB / 380.3 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.007555, allocations: 7.938 kB / 380.3 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.674e-05/0.007652, allocations: 65.05 kB / 380.4 MB, free: 132 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.007653, allocations: 0 / 380.4 MB, free: 132 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001737/0.007827, allocations: 85.52 kB / 380.5 MB, free: 40 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.007869, allocations: 55.41 kB / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.008021, allocations: 234.4 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.008032, allocations: 29.64 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.008079, allocations: 150.9 kB / 381 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.008104, allocations: 15.84 kB / 381 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.008133, allocations: 27.36 kB / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.008234, allocations: 0.4962 MB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.008255, allocations: 4 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.754e-05/0.008282, allocations: 31.36 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.196e-05/0.008324, allocations: 35.38 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.008326, allocations: 4 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001425/0.008468, allocations: 77.89 kB / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.008479, allocations: 4 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.008484, allocations: 3.938 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.008496, allocations: 3.938 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-05/0.008558, allocations: 11.98 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.008563, allocations: 4 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.906e-05/0.008592, allocations: 7.953 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.008597, allocations: 4 kB / 381.7 MB, free: 14.77 MB / 362.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 (7): * Single equations (assignments): 7 * 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.211e-05/0.008659, allocations: 163.9 kB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.008673, allocations: 15.94 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.008797, allocations: 94.75 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.008799, allocations: 0 / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.008802, allocations: 0 / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.008805, allocations: 0 / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.699e-05/0.008892, allocations: 140.6 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008893, allocations: 0 / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.008912, allocations: 4 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.008915, allocations: 4 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.008922, allocations: 0 / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.008924, allocations: 11.88 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.008925, allocations: 0 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.775e-05/0.009023, allocations: 116.3 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.009038, allocations: 11.95 kB / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.009053, allocations: 0 / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.279e-05/0.009076, allocations: 7.922 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.009104, allocations: 4 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.009115, allocations: 4 kB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.977e-05/0.009185, allocations: 172.1 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009185, allocations: 0 / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001385/0.009323, allocations: 15.94 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008662/0.01019, allocations: 388.3 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.01029, allocations: 39.61 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.0103, allocations: 4.062 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.085e-05/0.01033, allocations: 27.61 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.01051, allocations: 31.3 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.01081, allocations: 198.1 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.499e-05/0.01085, allocations: 63.34 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.043e-05/0.01088, allocations: 16.47 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.01091, allocations: 12.5 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01091, allocations: 0 / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of Templates: time 0.003665/0.01457, allocations: 1.764 MB / 385 MB, free: 11.53 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.97512881224975]