Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.000888/0.000888, allocations: 83.59 kB / 21.18 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.0008914/0.0008914, allocations: 165 kB / 24.56 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 0.9109/0.9109, allocations: 177.1 MB / 205 MB, free: 5.617 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.2352/0.2352, allocations: 32.8 MB / 294.3 MB, free: 1.273 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.118e-05, allocations: 9.484 kB / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002021/0.002042, allocations: 1.715 MB / 377.8 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003124, allocations: 0.9975 MB / 378.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.003192, allocations: 0 / 378.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.003509, allocations: 71.66 kB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.003827, allocations: 103.5 kB / 379 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.003988, allocations: 75.62 kB / 379.1 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.004134, allocations: 111.6 kB / 379.2 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.165e-05/0.004165, allocations: 240 / 379.2 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.484e-05/0.00425, allocations: 67.75 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.004331, allocations: 39.89 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.004346, allocations: 4 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.666e-05/0.004413, allocations: 43.91 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.004459, allocations: 15.92 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.004493, allocations: 15.94 kB / 379.4 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.004641, allocations: 83.72 kB / 379.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004643, allocations: 4 kB / 379.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004644, allocations: 0 / 379.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.004648, 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.0004538/0.005102, allocations: 443.8 kB / 379.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.005139, allocations: 12.03 kB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.005193, allocations: 20.83 kB / 379.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.005353, allocations: 157.1 kB / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.005369, allocations: 384 / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.005378, allocations: 384 / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.005495, allocations: 54.94 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.005505, allocations: 11.92 kB / 380.1 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.005514, allocations: 4 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.005522, allocations: 0 / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.955e-05/0.005552, allocations: 4 kB / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.005701, allocations: 148.6 kB / 380.3 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.678e-05/0.005798, allocations: 47.11 kB / 380.3 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.005826, allocations: 15.67 kB / 380.3 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.005836, allocations: 0 / 380.3 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.825e-05/0.005924, allocations: 65.05 kB / 380.4 MB, free: 132 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.005926, allocations: 0 / 380.4 MB, free: 132 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001711/0.006097, allocations: 93.45 kB / 380.5 MB, free: 32 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.006137, allocations: 51.41 kB / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.006258, allocations: 230.4 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.006269, allocations: 29.7 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.006315, allocations: 154.9 kB / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.006342, allocations: 19.83 kB / 381 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.006369, allocations: 27.38 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.006474, allocations: 0.4923 MB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.006492, allocations: 4 kB / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.006521, allocations: 31.36 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.006565, allocations: 39.31 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.006567, allocations: 0 / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.291e-05/0.00664, allocations: 77.58 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.006655, allocations: 8 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.00666, allocations: 8.188 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.006671, allocations: 0 / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.006732, allocations: 11.98 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.006739, allocations: 4 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.006767, allocations: 7.953 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.006772, allocations: 4 kB / 381.7 MB, free: 14.76 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 7.366e-05/0.006846, allocations: 156.6 kB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.006859, allocations: 11.95 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.006981, allocations: 94.72 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.006983, allocations: 4 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.006987, allocations: 0 / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.00699, allocations: 0 / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.892e-05/0.007089, allocations: 140.6 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.007091, allocations: 0 / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.707e-05/0.007108, allocations: 4 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.00711, allocations: 0 / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.007118, allocations: 4 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.007121, allocations: 3.938 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.007121, allocations: 4 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.616e-05/0.007218, allocations: 120.3 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.102e-05/0.007229, allocations: 7.953 kB / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.007244, allocations: 4 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.007264, allocations: 7.922 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.007304, allocations: 11.98 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.007315, allocations: 0 / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.354e-05/0.007398, allocations: 172.1 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007398, allocations: 0 / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001429/0.007541, allocations: 19.94 kB / 382.4 MB, free: 13.94 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.0008155/0.008356, allocations: 382.1 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.008458, allocations: 47.59 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.00846, allocations: 7.938 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.955e-05/0.008489, allocations: 27.73 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.008669, allocations: 23.98 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.008968, allocations: 198.1 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.304e-05/0.009001, allocations: 67.33 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.691e-05/0.009028, allocations: 4.5 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.009054, allocations: 20.5 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.009055, allocations: 0 / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of Templates: time 0.003339/0.01239, allocations: 1.754 MB / 384.9 MB, free: 11.53 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.0786384060047567]