Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001883/0.001883, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001958/0.001958, allocations: 160.8 kB / 24.27 MB, free: 156 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.623/1.623, allocations: 177 MB / 204.5 MB, free: 5.629 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.3978/0.3978, allocations: 34.25 MB / 295.2 MB, free: 0.6562 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.079e-05, allocations: 2.312 kB / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003364/0.003395, allocations: 1.757 MB / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.00543, allocations: 0.997 MB / 380.1 MB, free: 56 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.005499, allocations: 0 / 380.1 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.005888, allocations: 115.5 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.006265, allocations: 127.4 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.006482, allocations: 79.66 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.006719, allocations: 139.5 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.006816, allocations: 15.92 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.006948, allocations: 71.81 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.007076, allocations: 67.84 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.00711, allocations: 8 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.007238, allocations: 67.84 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.825e-05/0.007307, allocations: 27.86 kB / 380.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.007357, allocations: 23.92 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.00764, allocations: 159.4 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.007644, allocations: 0 / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.007645, allocations: 0 / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.00765, allocations: 0 / 380.9 MB, free: 15.17 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007226/0.008373, allocations: 487.2 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.008412, allocations: 16.03 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.927e-05/0.008492, allocations: 24.77 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.00878, allocations: 169.2 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.008797, allocations: 4.375 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.008818, allocations: 384 / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.008986, allocations: 66.22 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.009003, allocations: 4.188 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.009014, allocations: 384 / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.009026, allocations: 7.922 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.00913, allocations: 31.92 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006064/0.009737, allocations: 335.7 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.01002, allocations: 79.06 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.797e-05/0.01009, allocations: 23.69 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.01011, allocations: 4 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.01028, allocations: 80.97 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.01028, allocations: 0 / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008823/0.01116, allocations: 281.6 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.01121, allocations: 55.41 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.01152, allocations: 294.7 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.01155, allocations: 33.7 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.01169, allocations: 170.8 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.995e-05/0.01175, allocations: 47.83 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.01182, allocations: 39.36 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000269/0.01209, allocations: 0.5079 MB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/0.01217, allocations: 35.98 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.237e-05/0.01226, allocations: 51.36 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.01244, allocations: 95.3 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01244, allocations: 0 / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002689/0.01271, allocations: 153.5 kB / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.01272, allocations: 4 kB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.01273, allocations: 0 / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.01274, allocations: 4 kB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.462e-05/0.01284, allocations: 23.92 kB / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.01284, allocations: 4 kB / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.01289, allocations: 7.984 kB / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.01291, allocations: 8 kB / 384 MB, free: 11.85 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 (14): * Single equations (assignments): 14 * 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.0001329/0.01304, allocations: 164.5 kB / 384.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.01308, allocations: 23.91 kB / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.01343, allocations: 171 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.01343, allocations: 4 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.01344, allocations: 0 / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.01344, allocations: 3.984 kB / 384.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.01412, allocations: 0.4927 MB / 384.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.01413, allocations: 4 kB / 384.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.255e-05/0.01419, allocations: 12 kB / 384.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.0142, allocations: 7.984 kB / 384.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.01421, allocations: 4 kB / 384.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.01421, allocations: 8 kB / 384.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01421, allocations: 0 / 384.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.01473, allocations: 323.1 kB / 385.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.01477, allocations: 19.91 kB / 385.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.01479, allocations: 0 / 385.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.722e-05/0.01487, allocations: 8 kB / 385.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.01492, allocations: 15.91 kB / 385.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.01494, allocations: 4 kB / 385.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001874/0.01513, allocations: 209.4 kB / 385.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01513, allocations: 0 / 385.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002832/0.01541, allocations: 31.94 kB / 385.5 MB, free: 10.27 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 (14): * Single equations (assignments): 12 * 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.003736/0.01914, allocations: 0.5408 MB / 386.1 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.01941, allocations: 95.59 kB / 386.2 MB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01942, allocations: 0 / 386.2 MB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.01954, allocations: 59.59 kB / 386.2 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.01991, allocations: 31.97 kB / 386.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006454/0.02056, allocations: 314.1 kB / 386.6 MB, free: 9.387 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.02068, allocations: 114.8 kB / 386.7 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.272e-05/0.02076, allocations: 25.06 kB / 386.7 MB, free: 9.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.02081, allocations: 20.5 kB / 386.7 MB, free: 9.211 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02081, allocations: 3.938 kB / 386.7 MB, free: 9.207 MB / 362.7 MB Notification: Performance of Templates: time 0.0064/0.02721, allocations: 2.259 MB / 389 MB, free: 6.977 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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: 5.044994813972153]