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.001017/0.001017, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001212/0.001212, allocations: 160.4 kB / 24.99 MB, free: 8.77 MB / 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 0.9895/0.9895, allocations: 177 MB / 205.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.3127/0.3127, allocations: 34.87 MB / 296.6 MB, free: 0.5586 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|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.[0-9,]+.|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.333e-06/1.333e-06, allocations: 0 / 378.8 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.01e-05, allocations: 4.562 kB / 378.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00204/0.00206, allocations: 1.785 MB / 380.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.003205, allocations: 1.005 MB / 381.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.533e-05/0.003281, allocations: 8 kB / 381.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.003585, allocations: 103.6 kB / 381.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.00385, allocations: 131.4 kB / 381.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.003992, allocations: 83.53 kB / 381.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.004155, allocations: 135.6 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.187e-05/0.004247, allocations: 19.97 kB / 382.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.98e-05/0.004326, allocations: 71.81 kB / 382.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.686e-05/0.004413, allocations: 67.84 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.004428, allocations: 4 kB / 382.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.004513, allocations: 59.92 kB / 382.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.004568, allocations: 35.84 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.004608, allocations: 27.86 kB / 382.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.004787, allocations: 131.5 kB / 382.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.004789, allocations: 0 / 382.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00479, allocations: 3.938 kB / 382.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.004794, allocations: 8 kB / 382.5 MB, free: 14.61 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.0004493/0.005243, allocations: 483.6 kB / 383 MB, free: 14.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.005277, allocations: 8.031 kB / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.005326, allocations: 16.84 kB / 383 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.005494, allocations: 173.2 kB / 383.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.005512, allocations: 4.375 kB / 383.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.005531, allocations: 4.375 kB / 383.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.005651, allocations: 70.92 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.005662, allocations: 4.188 kB / 383.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.005671, allocations: 384 / 383.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-06/0.005681, allocations: 11.94 kB / 383.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.066e-05/0.005731, allocations: 19.92 kB / 383.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.006039, allocations: 319.7 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.006211, allocations: 59.05 kB / 383.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.006244, allocations: 23.77 kB / 383.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.006256, allocations: 3.938 kB / 383.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.673e-05/0.006352, allocations: 76.97 kB / 383.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.006354, allocations: 0 / 383.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005962/0.00695, allocations: 249.3 kB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.006979, allocations: 51.41 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.007256, allocations: 270.8 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.007282, allocations: 29.7 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.007358, allocations: 170.8 kB / 384.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.007404, allocations: 39.62 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.007453, allocations: 39.36 kB / 384.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.007573, allocations: 0.4962 MB / 385.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.688e-05/0.00763, allocations: 31.92 kB / 385.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-05/0.007687, allocations: 42.36 kB / 385.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.856e-05/0.007776, allocations: 71.3 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.007778, allocations: 0 / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001811/0.007959, allocations: 129.5 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.007975, allocations: 4 kB / 385.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.007981, allocations: 0 / 385.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.007997, allocations: 4 kB / 385.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.008087, allocations: 19.98 kB / 385.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.008093, allocations: 0 / 385.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.95e-05/0.008133, allocations: 8 kB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.008142, allocations: 8.031 kB / 385.4 MB, free: 11.49 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 8.907e-05/0.008231, allocations: 168.5 kB / 385.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.008256, allocations: 23.84 kB / 385.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.008483, allocations: 147.8 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.008486, allocations: 4 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.00849, allocations: 0 / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.008494, allocations: 0 / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.008972, allocations: 476.7 kB / 386.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.008975, allocations: 0 / 386.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/0.00903, allocations: 24.05 kB / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.009034, allocations: 4 kB / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.009045, allocations: 4 kB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.009048, allocations: 4 kB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.00905, allocations: 0 / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.009253, allocations: 311 kB / 386.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.009272, allocations: 11.91 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.009301, allocations: 8 kB / 386.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.299e-05/0.009354, allocations: 0 / 386.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.009397, allocations: 23.89 kB / 386.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.009416, allocations: 12 kB / 386.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.009519, allocations: 193.4 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009519, allocations: 0 / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000205/0.009724, allocations: 27.94 kB / 386.8 MB, free: 9.988 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.001012/0.01074, allocations: 484.2 kB / 387.3 MB, free: 9.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004186/0.01115, allocations: 71.59 kB / 387.3 MB, free: 9.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01116, allocations: 4 kB / 387.4 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.581e-05/0.01121, allocations: 47.59 kB / 387.4 MB, free: 9.531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.01147, allocations: 31.22 kB / 387.4 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.01193, allocations: 305.9 kB / 387.7 MB, free: 9.168 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.412e-05/0.01198, allocations: 79.83 kB / 387.8 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.457e-05/0.01204, allocations: 25.31 kB / 387.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.01208, allocations: 20.5 kB / 387.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01208, allocations: 0 / 387.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of Templates: time 0.004176/0.01625, allocations: 2.263 MB / 390.1 MB, free: 6.797 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","",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.2383677819743752]