Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.0009904/0.0009904, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001116/0.001116, allocations: 156.5 kB / 24.55 MB, free: 12 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.016/1.016, allocations: 177 MB / 204.8 MB, free: 5.598 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.2681/0.2681, allocations: 34.87 MB / 296.3 MB, free: 15.98 MB / 282.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.02e-07/9.02e-07, allocations: 0 / 378.9 MB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.747e-05, allocations: 6.953 kB / 378.9 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002033/0.00205, allocations: 1.772 MB / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.003295, allocations: 1.012 MB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.003348, allocations: 7.938 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.003532, allocations: 47.75 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.003749, allocations: 99.47 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.003884, allocations: 87.61 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.004002, allocations: 111.6 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.263e-05/0.004055, allocations: 4 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.535e-05/0.00412, allocations: 55.83 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.00417, allocations: 27.91 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.004182, allocations: 4 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.129e-05/0.004253, allocations: 43.92 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.844e-05/0.004292, allocations: 35.8 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.00432, allocations: 23.91 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.00445, allocations: 107.6 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004452, allocations: 0 / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004452, allocations: 4 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.615e-06/0.004455, allocations: 0 / 382.3 MB, free: 14.39 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.0003228/0.004778, allocations: 479.6 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.563e-05/0.004803, allocations: 8.031 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.004833, allocations: 16.84 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.004966, allocations: 169.2 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.004977, allocations: 4.359 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.004994, allocations: 8.375 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.324e-05/0.005077, allocations: 62.94 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.005083, allocations: 192 / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.00509, allocations: 4.375 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.005095, allocations: 3.938 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.746e-05/0.005122, allocations: 11.98 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.005363, allocations: 295.8 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.005446, allocations: 63.03 kB / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/0.00547, allocations: 11.69 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.005479, allocations: 0 / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.85e-05/0.005558, allocations: 72.98 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.00556, allocations: 4 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000317/0.005877, allocations: 173.2 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.005903, allocations: 55.41 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.00606, allocations: 273.6 kB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.006072, allocations: 29.64 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.006144, allocations: 166.9 kB / 384.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.006169, allocations: 23.8 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.006202, allocations: 31.36 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.006345, allocations: 0.4962 MB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.402e-05/0.006369, allocations: 15.98 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.606e-05/0.006405, allocations: 39.36 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.373e-05/0.006459, allocations: 43.38 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.00646, allocations: 4 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000105/0.006565, allocations: 93.47 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.006576, allocations: 4 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.00658, allocations: 4.359 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.00659, allocations: 4 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.42e-05/0.006644, allocations: 15.94 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.006648, allocations: 0 / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.766e-05/0.006675, allocations: 16.03 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.00668, allocations: 0 / 384.9 MB, free: 11.5 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.685e-05/0.006747, allocations: 164.6 kB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.006767, allocations: 23.84 kB / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.0069, allocations: 107 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.006902, allocations: 4 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.006905, allocations: 0 / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.006908, allocations: 0 / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.007199, allocations: 409 kB / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.0072, allocations: 0 / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.007224, allocations: 12.03 kB / 385.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.007226, allocations: 0 / 385.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.007233, allocations: 4 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007234, allocations: 3.938 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.007236, allocations: 3.984 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.007383, allocations: 267.4 kB / 385.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.007395, allocations: 11.91 kB / 385.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.007409, allocations: 0 / 385.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.98e-05/0.007449, allocations: 4 kB / 385.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/0.007475, allocations: 15.92 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.007483, allocations: 4 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.629e-05/0.007579, allocations: 196.5 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007579, allocations: 0 / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.007745, allocations: 27.92 kB / 386.2 MB, free: 10.19 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.0008895/0.008635, allocations: 443.2 kB / 386.6 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.53e-05/0.00873, allocations: 55.48 kB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.008731, allocations: 4 kB / 386.7 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.008769, allocations: 31.8 kB / 386.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.008971, allocations: 35.91 kB / 386.7 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.009273, allocations: 262.5 kB / 387 MB, free: 9.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.105e-05/0.009314, allocations: 71.33 kB / 387.1 MB, free: 9.371 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.972e-05/0.009344, allocations: 17.27 kB / 387.1 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.00937, allocations: 16.5 kB / 387.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.009371, allocations: 0 / 387.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of Templates: time 0.003071/0.01244, allocations: 1.882 MB / 389 MB, free: 7.484 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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.3330021761357784]