Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.0009971/0.0009971, allocations: 75.75 kB / 21.69 MB, free: 2.855 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.001099/0.001099, allocations: 167.2 kB / 24.99 MB, free: 9.23 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.9953/0.9953, allocations: 177.1 MB / 205.3 MB, free: 5.594 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.234/0.234, allocations: 32.8 MB / 294.6 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 376.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.968e-05, allocations: 2.312 kB / 376.1 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002404/0.002423, allocations: 1.766 MB / 377.9 MB, free: 3.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.003613, allocations: 1.005 MB / 378.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.099e-05/0.003694, allocations: 0 / 378.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.00399, allocations: 43.7 kB / 378.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.004254, allocations: 99.47 kB / 379 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.004391, allocations: 71.62 kB / 379.1 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.004532, allocations: 111.7 kB / 379.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.033e-05/0.004612, allocations: 4 kB / 379.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.592e-05/0.004688, allocations: 63.75 kB / 379.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.244e-05/0.004751, allocations: 23.92 kB / 379.3 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.004763, allocations: 4 kB / 379.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.131e-05/0.004835, allocations: 43.92 kB / 379.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.004882, allocations: 19.91 kB / 379.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.004919, allocations: 27.86 kB / 379.4 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.005075, allocations: 99.66 kB / 379.5 MB, free: 1.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005077, allocations: 0 / 379.5 MB, free: 1.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005078, allocations: 0 / 379.5 MB, free: 1.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.005082, allocations: 0 / 379.5 MB, free: 1.5 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.0004563/0.005539, allocations: 439.9 kB / 379.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.005574, allocations: 12.02 kB / 379.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.005619, allocations: 12.89 kB / 379.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.005777, allocations: 156.4 kB / 380.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.005794, allocations: 384 / 380.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.005812, allocations: 8.375 kB / 380.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.005925, allocations: 58.94 kB / 380.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.005935, allocations: 7.938 kB / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.005943, allocations: 0 / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.00595, allocations: 3.938 kB / 380.1 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.657e-05/0.005986, allocations: 19.92 kB / 380.2 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.006269, allocations: 271.8 kB / 380.4 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.006371, allocations: 59.16 kB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.0064, allocations: 15.62 kB / 380.5 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.006413, allocations: 8 kB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.37e-05/0.006507, allocations: 68.98 kB / 380.6 MB, free: 252 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.006508, allocations: 0 / 380.6 MB, free: 252 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003607/0.006869, allocations: 161.3 kB / 380.7 MB, free: 84 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.006902, allocations: 59.41 kB / 380.8 MB, free: 12 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.007041, allocations: 222.6 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.007052, allocations: 25.7 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.00711, allocations: 150.9 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.007136, allocations: 31.77 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.00717, allocations: 27.38 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.007286, allocations: 0.5001 MB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.00731, allocations: 11.98 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-05/0.007343, allocations: 31.38 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.78e-05/0.0074, allocations: 55.23 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.007401, allocations: 0 / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.599e-05/0.007497, allocations: 89.53 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.00751, allocations: 8 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.007514, allocations: 0 / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.007526, allocations: 4.031 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.683e-05/0.007593, allocations: 19.98 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.007598, allocations: 4 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.587e-05/0.007624, allocations: 0 / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.00763, allocations: 4 kB / 382 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 (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.8e-05/0.007698, allocations: 168 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.007714, allocations: 11.94 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.007856, allocations: 107.2 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.007858, allocations: 0 / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.007861, allocations: 0 / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.007866, allocations: 11.98 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.008139, allocations: 388.9 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.008141, allocations: 4 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.008173, allocations: 15.88 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.008176, allocations: 3.984 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.008185, allocations: 4 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.008188, allocations: 4 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008189, allocations: 0 / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.008325, allocations: 255.4 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.008337, allocations: 15.89 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.008352, allocations: 4.031 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.099e-05/0.008393, allocations: 8 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.008426, allocations: 7.984 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.008438, allocations: 384 / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.925e-05/0.008507, allocations: 167.8 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008507, allocations: 0 / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.008675, allocations: 31.92 kB / 383.1 MB, free: 13.5 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.0009203/0.009595, allocations: 431.7 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.009711, allocations: 55.59 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.009713, allocations: 0 / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.068e-05/0.009754, allocations: 35.61 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.009976, allocations: 27.97 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.01032, allocations: 214.3 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.077e-05/0.01036, allocations: 63.34 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.357e-05/0.01039, allocations: 21.39 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.01043, allocations: 20.5 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01043, allocations: 0 / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of Templates: time 0.00358/0.01401, allocations: 1.874 MB / 385.9 MB, free: 10.9 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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.261598158860579]