Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.0009251/0.0009251, allocations: 88.86 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.001026/0.001026, allocations: 162 kB / 24.91 MB, free: 8.766 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.909/0.909, allocations: 177 MB / 205.2 MB, free: 5.438 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.2544/0.2544, allocations: 34.87 MB / 296.6 MB, free: 0.5039 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.039e-05, allocations: 4 kB / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002875/0.002895, allocations: 1.719 MB / 327.7 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.00472, allocations: 1.004 MB / 328.7 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.004789, allocations: 4 kB / 328.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.005073, allocations: 47.69 kB / 328.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.005411, allocations: 107.5 kB / 328.9 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.005603, allocations: 79.61 kB / 328.9 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.005791, allocations: 108.4 kB / 329 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.005839, allocations: 8.219 kB / 329.1 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.005959, allocations: 55.81 kB / 329.1 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.561e-05/0.006055, allocations: 35.84 kB / 329.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.006072, allocations: 4 kB / 329.2 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.959e-05/0.006151, allocations: 39.91 kB / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.0062, allocations: 19.92 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.006236, allocations: 15.94 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.006412, allocations: 91.66 kB / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.006414, allocations: 0 / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.006415, allocations: 0 / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.006418, allocations: 0 / 329.3 MB, free: 3.758 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004052/0.006823, allocations: 305.6 kB / 329.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.00686, allocations: 12.03 kB / 329.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.006897, allocations: 8.922 kB / 329.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.007075, allocations: 133.7 kB / 329.8 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.007091, allocations: 4.375 kB / 329.8 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.007104, allocations: 4.312 kB / 329.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.007243, allocations: 65.77 kB / 329.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.007252, allocations: 4.125 kB / 329.8 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.007261, allocations: 4.359 kB / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.007268, allocations: 3.938 kB / 329.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.951e-05/0.007297, allocations: 7.984 kB / 329.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.007404, allocations: 74.62 kB / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.995e-05/0.007504, allocations: 33.44 kB / 330 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/0.00753, allocations: 12.86 kB / 330 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.007543, allocations: 11.98 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.007644, allocations: 58.16 kB / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.007645, allocations: 0 / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001442/0.007789, allocations: 57.69 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.007827, allocations: 51.41 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.00796, allocations: 176.9 kB / 330.3 MB, free: 2.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.007975, allocations: 25.7 kB / 330.3 MB, free: 2.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.008008, allocations: 92.11 kB / 330.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.00804, allocations: 11.91 kB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.008076, allocations: 21.7 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.008171, allocations: 330.8 kB / 330.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.00819, allocations: 6.828 kB / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.008219, allocations: 21.66 kB / 330.8 MB, free: 2.082 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.857e-05/0.008267, allocations: 35.34 kB / 330.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.008269, allocations: 0 / 330.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.934e-05/0.008359, allocations: 64.75 kB / 330.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.008371, allocations: 4 kB / 330.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.008376, allocations: 4 kB / 330.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.008389, allocations: 0 / 330.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.008453, allocations: 16.03 kB / 330.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.008457, allocations: 3.984 kB / 330.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.008499, allocations: 7.938 kB / 331 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.008505, allocations: 0 / 331 MB, free: 1.934 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 (7): * Single equations (assignments): 7 * 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 7.533e-05/0.008581, allocations: 116.7 kB / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.008599, allocations: 11.92 kB / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.008707, allocations: 58.83 kB / 331.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.008709, allocations: 4 kB / 331.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.008711, allocations: 3.938 kB / 331.1 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.008715, allocations: 3.938 kB / 331.1 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.357e-05/0.008809, allocations: 93.77 kB / 331.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.00881, allocations: 0 / 331.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.008838, allocations: 4 kB / 331.2 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.00884, allocations: 0 / 331.2 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.008848, allocations: 4 kB / 331.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.00885, allocations: 0 / 331.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.008851, allocations: 0 / 331.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.008951, allocations: 90.62 kB / 331.3 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.008971, allocations: 15.94 kB / 331.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.00899, allocations: 4 kB / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.44e-05/0.009025, allocations: 4 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.009055, allocations: 4 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.00907, allocations: 7.984 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.697e-05/0.009127, allocations: 44.36 kB / 331.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009127, allocations: 0 / 331.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001998/0.009327, allocations: 19.98 kB / 331.4 MB, free: 1.395 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00154/0.01087, allocations: 0.4897 MB / 331.9 MB, free: 1.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.01097, allocations: 40.72 kB / 332 MB, free: 1.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.01097, allocations: 4.062 kB / 332 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/0.01101, allocations: 16.86 kB / 332 MB, free: 1.082 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.01116, allocations: 23.92 kB / 332 MB, free: 1.059 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.0115, allocations: 191.7 kB / 332.2 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.954e-05/0.01154, allocations: 67.28 kB / 332.3 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.084e-05/0.01158, allocations: 16.47 kB / 332.3 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.01166, allocations: 63.36 kB / 332.3 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01166, allocations: 4 kB / 332.3 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of Templates: time 0.004321/0.01598, allocations: 1.769 MB / 334.1 MB, free: 14.94 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.820426035206765]