Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.000941/0.000941, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001527/0.001527, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9888/0.9888, allocations: 177 MB / 205.2 MB, free: 5.035 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.2527/0.2527, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.611e-05, allocations: 2.312 kB / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002003/0.002019, allocations: 1.761 MB / 327.8 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.003165, allocations: 1.017 MB / 328.8 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.003226, allocations: 0 / 328.8 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.003461, allocations: 35.72 kB / 328.8 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.003687, allocations: 99.47 kB / 328.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.003816, allocations: 83.59 kB / 329 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.003946, allocations: 100.5 kB / 329.1 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.917e-05/0.004016, allocations: 19.95 kB / 329.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.245e-05/0.004088, allocations: 51.78 kB / 329.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.278e-05/0.004151, allocations: 27.91 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.004166, allocations: 4 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.972e-05/0.004235, allocations: 43.92 kB / 329.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.004279, allocations: 23.92 kB / 329.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.004309, allocations: 23.86 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.004452, allocations: 103.6 kB / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.263e-06/0.004453, allocations: 0 / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.6e-07/0.004454, allocations: 0 / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.916e-06/0.004457, allocations: 0 / 329.4 MB, free: 3.676 MB / 298.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.0003495/0.004806, allocations: 321.5 kB / 329.7 MB, free: 3.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.004839, allocations: 12.03 kB / 329.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.004868, allocations: 8.922 kB / 329.7 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.005003, allocations: 146.3 kB / 329.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.005018, allocations: 4.375 kB / 329.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.005036, allocations: 384 / 329.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.808e-05/0.005134, allocations: 69.77 kB / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.005142, allocations: 4.125 kB / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.005149, allocations: 384 / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.005157, allocations: 3.938 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.511e-05/0.005182, allocations: 15.92 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.005388, allocations: 166 kB / 330.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.934e-05/0.005477, allocations: 85.28 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.005498, allocations: 12.86 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.005508, allocations: 0 / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.997e-05/0.005588, allocations: 70.14 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.394e-06/0.00559, allocations: 3.984 kB / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002587/0.005849, allocations: 117.5 kB / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.005877, allocations: 51.41 kB / 330.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.005974, allocations: 181.3 kB / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.005987, allocations: 29.7 kB / 330.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.006019, allocations: 96.11 kB / 330.8 MB, free: 2.164 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.006045, allocations: 31.77 kB / 330.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.00607, allocations: 21.72 kB / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.006146, allocations: 322.8 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.006161, allocations: 10.83 kB / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.172e-05/0.006182, allocations: 21.7 kB / 331.2 MB, free: 1.742 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.034e-05/0.006223, allocations: 48.45 kB / 331.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.006223, allocations: 4 kB / 331.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.779e-05/0.006291, allocations: 68.5 kB / 331.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.006301, allocations: 7.938 kB / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.006305, allocations: 7.938 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.006316, allocations: 3.984 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.163e-05/0.006368, allocations: 12 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.00637, allocations: 0 / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.006394, allocations: 4 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.006398, allocations: 0 / 331.3 MB, free: 1.574 MB / 298.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 5.722e-05/0.006455, allocations: 120.7 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.006467, allocations: 16.31 kB / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.144e-05/0.006558, allocations: 79.06 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.00656, allocations: 0 / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.006561, allocations: 0 / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.006565, allocations: 4 kB / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.006752, allocations: 299.4 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.006757, allocations: 3.938 kB / 331.8 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.00678, allocations: 11.98 kB / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.006781, allocations: 0 / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.006788, allocations: 8.031 kB / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.006789, allocations: 240 / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.006791, allocations: 3.938 kB / 331.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.322e-05/0.006884, allocations: 211.1 kB / 332 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.006894, allocations: 15.88 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.006907, allocations: 4 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.414e-05/0.006941, allocations: 0 / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.006964, allocations: 11.92 kB / 332.1 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.006974, allocations: 8 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.681e-05/0.007011, allocations: 51.62 kB / 332.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007011, allocations: 0 / 332.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001306/0.007142, allocations: 27.94 kB / 332.2 MB, free: 0.6445 MB / 298.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.001261/0.008403, allocations: 0.5552 MB / 332.7 MB, free: 380 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.341e-05/0.008476, allocations: 44.78 kB / 332.8 MB, free: 332 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.008478, allocations: 0 / 332.8 MB, free: 332 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.953e-05/0.008508, allocations: 28.84 kB / 332.8 MB, free: 300 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.008666, allocations: 34.84 kB / 332.8 MB, free: 268 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.008933, allocations: 220 kB / 333 MB, free: 16 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.218e-05/0.008975, allocations: 63.34 kB / 333.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.145e-05/0.009007, allocations: 17.39 kB / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.009064, allocations: 75.36 kB / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.009065, allocations: 0 / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of Templates: time 0.003413/0.01248, allocations: 2.016 MB / 335.2 MB, free: 13.86 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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: 2.9121059919707477]