Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001307/0.001307, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001443/0.001443, allocations: 169.5 kB / 24.91 MB, free: 8.258 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 1.008/1.008, allocations: 177 MB / 205.2 MB, free: 5.445 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.2727/0.2727, allocations: 34.86 MB / 296.6 MB, free: 0.5234 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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.165e-06/2.165e-06, allocations: 4 kB / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.861e-05, allocations: 4.141 kB / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002207/0.002226, allocations: 1.778 MB / 327.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.003366, allocations: 1.017 MB / 328.8 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.003433, allocations: 0 / 328.8 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.003708, allocations: 91.62 kB / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.003977, allocations: 119.4 kB / 329 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.004147, allocations: 87.53 kB / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.004293, allocations: 116.4 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.804e-05/0.004371, allocations: 19.97 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.282e-05/0.004454, allocations: 67.75 kB / 329.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.004538, allocations: 51.88 kB / 329.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.00455, allocations: 4 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.659e-05/0.004636, allocations: 71.84 kB / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.004679, allocations: 19.92 kB / 329.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.004714, allocations: 23.92 kB / 329.5 MB, free: 3.613 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.00487, allocations: 115.6 kB / 329.6 MB, free: 3.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.004872, allocations: 0 / 329.6 MB, free: 3.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004873, allocations: 0 / 329.6 MB, free: 3.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.004876, allocations: 0 / 329.6 MB, free: 3.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003404/0.005216, allocations: 341.3 kB / 329.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.005247, allocations: 12.03 kB / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.005274, allocations: 8.922 kB / 329.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.005409, allocations: 149.6 kB / 330.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.005423, allocations: 8.375 kB / 330.1 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.00544, allocations: 8.297 kB / 330.1 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.601e-05/0.005536, allocations: 69.75 kB / 330.2 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.005544, allocations: 192 / 330.2 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.00555, allocations: 384 / 330.2 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.005556, allocations: 7.938 kB / 330.2 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.408e-05/0.00558, allocations: 15.92 kB / 330.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.005776, allocations: 173.9 kB / 330.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.005911, allocations: 85.3 kB / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.005931, allocations: 16.86 kB / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.005942, allocations: 4.109 kB / 330.4 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.07e-05/0.006023, allocations: 74.2 kB / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.006024, allocations: 0 / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003728/0.006397, allocations: 174.9 kB / 330.7 MB, free: 2.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.006427, allocations: 51.41 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.006536, allocations: 189.1 kB / 330.9 MB, free: 2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.00655, allocations: 25.7 kB / 331 MB, free: 1.969 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.006583, allocations: 100.1 kB / 331.1 MB, free: 1.867 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.006609, allocations: 35.7 kB / 331.1 MB, free: 1.832 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.006647, allocations: 29.69 kB / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.006722, allocations: 326.8 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.006739, allocations: 14.81 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.628e-05/0.006766, allocations: 37.58 kB / 331.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.763e-05/0.006813, allocations: 49.28 kB / 331.5 MB, free: 1.355 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.006814, allocations: 0 / 331.5 MB, free: 1.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.917e-05/0.006893, allocations: 81.36 kB / 331.6 MB, free: 1.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.006905, allocations: 16.02 kB / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.006909, allocations: 0 / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.00692, allocations: 0 / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.653e-05/0.006967, allocations: 16 kB / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.00697, allocations: 0 / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.006999, allocations: 15.98 kB / 331.7 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.007005, allocations: 0 / 331.7 MB, free: 1.223 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 (13): * Single equations (assignments): 13 * 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.399e-05/0.007069, allocations: 122.9 kB / 331.8 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.007082, allocations: 15.92 kB / 331.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.007189, allocations: 99.8 kB / 331.9 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.00719, allocations: 4 kB / 331.9 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007192, allocations: 0 / 331.9 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.007195, allocations: 0 / 331.9 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.007424, allocations: 328.2 kB / 332.2 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.007427, allocations: 4 kB / 332.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.007453, allocations: 12 kB / 332.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.007455, allocations: 0 / 332.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.007462, allocations: 3.984 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.007464, allocations: 7.938 kB / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007465, allocations: 0 / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.007576, allocations: 237.4 kB / 332.5 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.007589, allocations: 11.91 kB / 332.5 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.007605, allocations: 8 kB / 332.5 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.916e-05/0.007644, allocations: 7.938 kB / 332.5 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.007668, allocations: 7.984 kB / 332.5 MB, free: 308 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.007678, allocations: 0 / 332.5 MB, free: 308 kB / 298.7 MB Notification: Performance of sorting global known variables: time 5.019e-05/0.007728, allocations: 69.47 kB / 332.6 MB, free: 236 kB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007728, allocations: 0 / 332.6 MB, free: 236 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001542/0.007882, allocations: 35.94 kB / 332.6 MB, free: 200 kB / 298.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 (12): * Single equations (assignments): 10 * 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.00142/0.009302, allocations: 0.6363 MB / 333.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.338e-05/0.009396, allocations: 48.78 kB / 333.3 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.0094, allocations: 4 kB / 333.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.323e-05/0.009433, allocations: 32.77 kB / 333.3 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.009599, allocations: 31.97 kB / 333.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.009889, allocations: 259.9 kB / 333.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.856e-05/0.009927, allocations: 71.33 kB / 333.7 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.605e-05/0.009963, allocations: 16.64 kB / 333.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.01003, allocations: 71.34 kB / 333.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01003, allocations: 4 kB / 333.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of Templates: time 0.003608/0.01364, allocations: 2.297 MB / 336.1 MB, free: 13.03 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.016422907356173]