Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001015/0.001015, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009567/0.0009567, allocations: 161 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.9728/0.9728, allocations: 177.1 MB / 205 MB, free: 5.598 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.2591/0.2591, allocations: 32.81 MB / 294.3 MB, free: 1.277 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.399e-05, allocations: 2.312 kB / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002305/0.002329, allocations: 1.77 MB / 377.9 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.003567, allocations: 1.005 MB / 378.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.725e-05/0.003645, allocations: 4 kB / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.003963, allocations: 83.64 kB / 379 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.004293, allocations: 123.4 kB / 379.1 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.004519, allocations: 83.55 kB / 379.2 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.004697, allocations: 119.6 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.743e-05/0.004784, allocations: 11.98 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.492e-05/0.004879, allocations: 59.81 kB / 379.4 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.004988, allocations: 55.86 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.005004, allocations: 8 kB / 379.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.236e-05/0.005096, allocations: 47.92 kB / 379.5 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.005148, allocations: 27.86 kB / 379.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.092e-05/0.005199, allocations: 19.92 kB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.005384, allocations: 103.6 kB / 379.6 MB, free: 1.066 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.005387, allocations: 0 / 379.6 MB, free: 1.066 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005388, allocations: 0 / 379.6 MB, free: 1.066 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.005393, allocations: 0 / 379.6 MB, free: 1.066 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.000474/0.005867, allocations: 455.8 kB / 380.1 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.005914, allocations: 16.02 kB / 380.1 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.00597, allocations: 20.84 kB / 380.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.006154, allocations: 152.4 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.006173, allocations: 384 / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.006195, allocations: 12.27 kB / 380.3 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.006328, allocations: 58.94 kB / 380.3 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.00634, allocations: 7.938 kB / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.006349, allocations: 0 / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.006357, allocations: 0 / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.59e-05/0.006393, allocations: 15.98 kB / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.006736, allocations: 283.8 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.006869, allocations: 55.11 kB / 380.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.006903, allocations: 27.61 kB / 380.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.006916, allocations: 0 / 380.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.007021, allocations: 65.05 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.007023, allocations: 0 / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004074/0.00743, allocations: 161.3 kB / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.007465, allocations: 51.41 kB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.007615, allocations: 242.7 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.007628, allocations: 29.7 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.007687, allocations: 158.9 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.007718, allocations: 31.73 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.007753, allocations: 27.38 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.007881, allocations: 0.4962 MB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.054e-05/0.007912, allocations: 23.86 kB / 382 MB, free: 14.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/0.007949, allocations: 31.36 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.295e-05/0.008012, allocations: 55.3 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.008013, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001159/0.008129, allocations: 89.58 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.008145, allocations: 14.36 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.008151, allocations: 384 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.008165, allocations: 0 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.185e-05/0.008247, allocations: 16 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.008253, allocations: 4 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.276e-05/0.008286, allocations: 7.938 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.008294, allocations: 7.984 kB / 382.2 MB, free: 14.27 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 7.91e-05/0.008373, allocations: 167.9 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.00839, allocations: 15.91 kB / 382.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.008551, allocations: 115.2 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008553, allocations: 0 / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.008557, allocations: 0 / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.00856, allocations: 0 / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005878/0.009148, allocations: 400.9 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.00915, allocations: 0 / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.052e-05/0.00918, allocations: 11.98 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.009184, allocations: 0 / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.009193, allocations: 4 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.009195, allocations: 0 / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.009197, allocations: 0 / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.009345, allocations: 263.4 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.009361, allocations: 15.94 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.009381, allocations: 4 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.505e-05/0.009426, allocations: 3.984 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.009459, allocations: 7.984 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.009473, allocations: 8 kB / 383.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.779e-05/0.009561, allocations: 181 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009561, allocations: 0 / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001918/0.009753, allocations: 31.92 kB / 383.4 MB, free: 12.98 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.001021/0.01077, allocations: 445.6 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.01093, allocations: 51.59 kB / 383.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01093, allocations: 0 / 383.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.024e-05/0.01097, allocations: 27.69 kB / 383.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.01122, allocations: 31.97 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.01162, allocations: 240.5 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.662e-05/0.01167, allocations: 79.27 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.117e-05/0.01172, allocations: 21.39 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.01175, allocations: 16.5 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.392e-06/0.01175, allocations: 0 / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of Templates: time 0.004164/0.01591, allocations: 2.014 MB / 386.3 MB, free: 10.2 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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: 3.023399177007377]