Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001843/0.001843, 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.001595/0.001595, 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.495/1.495, allocations: 177 MB / 204.5 MB, free: 5.613 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.3705/0.3705, allocations: 34.24 MB / 295.2 MB, free: 0.668 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.696e-05, allocations: 2.312 kB / 377.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003435/0.003462, allocations: 1.749 MB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.005624, allocations: 0.9892 MB / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.023e-05/0.005714, allocations: 0 / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004583/0.006173, allocations: 107.7 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004103/0.006583, allocations: 131.3 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.006835, allocations: 87.59 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.007094, allocations: 135.6 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.007214, allocations: 21.47 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.007356, allocations: 71.8 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.007502, allocations: 71.84 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.007531, allocations: 8 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.007667, allocations: 55.92 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.214e-05/0.007759, allocations: 43.83 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.00782, allocations: 27.88 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.008129, allocations: 163.4 kB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.008133, allocations: 0 / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008134, allocations: 0 / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.008139, allocations: 0 / 381 MB, free: 15.13 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006781/0.008817, allocations: 385.3 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.008856, allocations: 8.031 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.008927, allocations: 16.84 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.009253, allocations: 174.4 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.009271, allocations: 4.375 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.009303, allocations: 12.38 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.009508, allocations: 78.16 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.009522, allocations: 192 / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.009537, allocations: 4.359 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.009547, allocations: 7.938 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.009671, allocations: 39.97 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.01016, allocations: 276.3 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.01047, allocations: 70.55 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.01056, allocations: 28.84 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.01058, allocations: 11.94 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.01077, allocations: 83.31 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.01077, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001017/0.01178, allocations: 325 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.01184, allocations: 55.41 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.01217, allocations: 263.8 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.0122, allocations: 29.7 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.0123, allocations: 116.1 kB / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.01236, allocations: 43.64 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.556e-05/0.01242, allocations: 41.7 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.01261, allocations: 326.8 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.625e-05/0.01271, allocations: 39.98 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.01283, allocations: 65.62 kB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.01305, allocations: 108.9 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01305, allocations: 0 / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003236/0.01337, allocations: 173.6 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.01339, allocations: 8 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.0134, allocations: 7.969 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.01342, allocations: 0 / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.01352, allocations: 27.98 kB / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.01353, allocations: 0 / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.206e-05/0.01358, allocations: 4 kB / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.0136, allocations: 8 kB / 383.7 MB, free: 12.16 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 (16): * Single equations (assignments): 16 * 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.0001619/0.01376, allocations: 141.7 kB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.01381, allocations: 23.89 kB / 383.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000426/0.01424, allocations: 205.1 kB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.01424, allocations: 8 kB / 384.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.01425, allocations: 0 / 384.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.01425, allocations: 0 / 384.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007187/0.01497, allocations: 459.8 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01497, allocations: 0 / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.121e-05/0.01505, allocations: 27.98 kB / 384.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.01505, allocations: 0 / 384.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.01507, allocations: 8 kB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.01507, allocations: 3.938 kB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01507, allocations: 0 / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.01547, allocations: 281.1 kB / 384.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.0155, allocations: 19.83 kB / 384.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.01553, allocations: 11.94 kB / 384.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.01562, allocations: 4 kB / 384.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.01567, allocations: 15.97 kB / 384.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.01569, allocations: 4 kB / 384.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003381/0.01603, allocations: 197.5 kB / 385.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01603, allocations: 0 / 385.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002912/0.01632, allocations: 43.86 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002492/0.01881, allocations: 0.538 MB / 385.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.01909, allocations: 103.9 kB / 385.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01909, allocations: 0 / 385.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.01922, allocations: 55.91 kB / 385.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.01961, allocations: 43.92 kB / 385.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006745/0.02029, allocations: 346.5 kB / 386.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.02043, allocations: 123.5 kB / 386.4 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.866e-05/0.0205, allocations: 21.48 kB / 386.4 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.02056, allocations: 24.48 kB / 386.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02056, allocations: 0 / 386.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of Templates: time 0.006549/0.02711, allocations: 2.364 MB / 388.8 MB, free: 7.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.948153586941771]