Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002008/0.002008, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002307/0.002307, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3376/0.3376, allocations: 34.24 MB / 295.2 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 377.3 MB, free: 2.844 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.53e-05/3.758e-05, allocations: 2.312 kB / 377.3 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.005131/0.005168, allocations: 1.712 MB / 379 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003051/0.008219, allocations: 0.9799 MB / 380 MB, free: 132 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.00836, allocations: 7.938 kB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005556/0.008915, allocations: 51.69 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006385/0.009554, allocations: 99.61 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.009934, allocations: 83.52 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.01025, allocations: 115.6 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.01039, allocations: 7.984 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.01056, allocations: 47.91 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.01069, allocations: 31.83 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.01072, allocations: 4 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.01089, allocations: 43.92 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.011, allocations: 27.92 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.58e-05/0.01108, allocations: 27.86 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.01146, allocations: 127.5 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.01147, allocations: 4 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01147, allocations: 0 / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.01148, allocations: 3.938 kB / 380.7 MB, free: 15.46 MB / 362.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.0009022/0.01238, allocations: 369.3 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.01244, allocations: 12.03 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.01254, allocations: 20.84 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.01299, allocations: 158.5 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.01301, allocations: 4.312 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.01305, allocations: 8.375 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.01328, allocations: 62.22 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.01329, allocations: 4.188 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.0133, allocations: 384 / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.01332, allocations: 11.92 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.01342, allocations: 15.98 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.01399, allocations: 240.5 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.01428, allocations: 58.61 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.823e-05/0.01438, allocations: 20.84 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.0144, allocations: 4 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/0.01467, allocations: 75.33 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.01467, allocations: 0 / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009535/0.01562, allocations: 193.2 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.0157, allocations: 51.41 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004845/0.01618, allocations: 275 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.01621, allocations: 29.7 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.01635, allocations: 116.1 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.0164, allocations: 27.78 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/0.01647, allocations: 29.64 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002542/0.01672, allocations: 330.8 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.721e-05/0.01681, allocations: 23.98 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.01692, allocations: 37.7 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.0171, allocations: 57.7 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.0171, allocations: 0 / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003255/0.01743, allocations: 117.5 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.01745, allocations: 4 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.01746, allocations: 4 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.01748, allocations: 0 / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.01762, allocations: 15.94 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.01763, allocations: 4.188 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-05/0.0177, allocations: 11.98 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.01772, allocations: 4 kB / 383 MB, free: 12.92 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.0001775/0.01789, allocations: 133.8 kB / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.01794, allocations: 19.84 kB / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003867/0.01833, allocations: 127 kB / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01833, allocations: 0 / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.01834, allocations: 384 / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01835, allocations: 0 / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000732/0.01908, allocations: 370.9 kB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.01908, allocations: 4 kB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.01914, allocations: 12 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01914, allocations: 0 / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.01916, allocations: 4 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.01916, allocations: 4 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01917, allocations: 0 / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.01958, allocations: 224.2 kB / 383.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.01961, allocations: 11.91 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.01965, allocations: 0 / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.01976, allocations: 12.03 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.01982, allocations: 7.984 kB / 383.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.01984, allocations: 0 / 383.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003196/0.02016, allocations: 216.5 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02016, allocations: 0 / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000411/0.02057, allocations: 23.94 kB / 384.1 MB, free: 11.7 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.002785/0.02336, allocations: 492.7 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.02363, allocations: 59.86 kB / 384.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.02364, allocations: 0 / 384.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.02375, allocations: 27.98 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.02426, allocations: 35.47 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008711/0.02513, allocations: 310 kB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.0253, allocations: 108.9 kB / 385.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.584e-05/0.02538, allocations: 17.27 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.065e-05/0.02544, allocations: 24.48 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of SimCode: time 9.61e-07/0.02544, allocations: 0 / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.007578/0.03302, allocations: 1.878 MB / 387.1 MB, free: 8.91 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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: 4.854885447071865]