Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001883/0.001883, allocations: 83.67 kB / 20.96 MB, free: 3.32 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.002083/0.002083, allocations: 161.3 kB / 24.27 MB, free: 12 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 1.538/1.538, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3456/0.3456, allocations: 32.8 MB / 293.9 MB, free: 1.176 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.055e-05, allocations: 2.312 kB / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003629/0.00366, allocations: 1.746 MB / 377.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.00574, allocations: 0.986 MB / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.828e-05/0.005818, allocations: 0 / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.006154, allocations: 51.69 kB / 378.1 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.006503, allocations: 99.47 kB / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.006729, allocations: 79.61 kB / 378.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.006949, allocations: 103.7 kB / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.007049, allocations: 11.98 kB / 378.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.007172, allocations: 55.77 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.359e-05/0.007256, allocations: 19.92 kB / 378.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.00728, allocations: 4 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.00739, allocations: 47.91 kB / 378.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.688e-05/0.007457, allocations: 23.92 kB / 378.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.007509, allocations: 27.86 kB / 378.6 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.007749, allocations: 119.6 kB / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.007753, allocations: 0 / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.007754, allocations: 0 / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.007759, allocations: 0 / 378.7 MB, free: 1.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007061/0.008465, allocations: 447.6 kB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.008507, allocations: 8.031 kB / 379.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.048e-05/0.008578, allocations: 20.84 kB / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.008855, allocations: 146.1 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.008874, allocations: 4.375 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.008896, allocations: 4.375 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.009057, allocations: 58.17 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.009073, allocations: 3.938 kB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.009086, allocations: 7.938 kB / 379.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.009091, allocations: 0 / 379.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.645e-05/0.009167, allocations: 15.98 kB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.009692, allocations: 303.7 kB / 379.7 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.009904, allocations: 71.09 kB / 379.8 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.287e-05/0.009967, allocations: 19.62 kB / 379.8 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.009987, allocations: 4 kB / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.01016, allocations: 73.05 kB / 379.9 MB, free: 232 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.01016, allocations: 0 / 379.9 MB, free: 232 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006284/0.01079, allocations: 173.4 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.01086, allocations: 55.41 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.01112, allocations: 250.4 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.01114, allocations: 25.7 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.01126, allocations: 166.7 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.0113, allocations: 23.8 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.01136, allocations: 31.36 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002706/0.01163, allocations: 0.504 MB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.321e-05/0.01169, allocations: 20 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.014e-05/0.01177, allocations: 47.3 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.0119, allocations: 67.3 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.0119, allocations: 0 / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002122/0.01212, allocations: 101.6 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.01214, allocations: 11.98 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01214, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.01216, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.53e-05/0.01225, allocations: 12.38 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.01226, allocations: 8.031 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.287e-05/0.0123, allocations: 0 / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.01232, allocations: 15.98 kB / 381.4 MB, free: 14.64 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 (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 0.0001484/0.01247, allocations: 172.4 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.0125, allocations: 15.91 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.01279, allocations: 123.2 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.0128, allocations: 0 / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.0128, allocations: 0 / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.0128, allocations: 0 / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00056/0.01336, allocations: 420.9 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01337, allocations: 7.969 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.01341, allocations: 12 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.01341, allocations: 0 / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.01342, allocations: 0 / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.01342, allocations: 4 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01342, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.01375, allocations: 267.4 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.01378, allocations: 15.89 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.0138, allocations: 4 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.745e-05/0.01387, allocations: 4 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.01391, allocations: 11.98 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.01393, allocations: 4 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.01409, allocations: 184.1 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01409, allocations: 0 / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002692/0.01436, allocations: 27.92 kB / 382.6 MB, free: 13.31 MB / 362.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.003397/0.01776, allocations: 493.4 kB / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.018, allocations: 71.53 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.01801, allocations: 0 / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.106e-05/0.0181, allocations: 39.67 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.01848, allocations: 27.73 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000588/0.01906, allocations: 233.9 kB / 383.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.01919, allocations: 100.4 kB / 383.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.918e-05/0.01925, allocations: 25.27 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.0193, allocations: 16.5 kB / 383.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.0193, allocations: 0 / 383.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of Templates: time 0.006155/0.02545, allocations: 1.864 MB / 385.5 MB, free: 10.63 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.08925856591668]