Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.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.0009466/0.0009466, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001086/0.001086, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9755/0.9755, allocations: 177 MB / 204.8 MB, free: 5.559 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.2847/0.2847, allocations: 34.86 MB / 296.3 MB, free: 496 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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.105e-05/3.277e-05, allocations: 2.312 kB / 378.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003329/0.003361, allocations: 1.728 MB / 380.5 MB, free: 292 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009681/0.00433, allocations: 0.5448 MB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.004395, allocations: 4 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.004681, allocations: 71.7 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003887/0.005069, allocations: 111.4 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.005513, allocations: 123.7 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.00575, allocations: 95.67 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.005895, allocations: 16.22 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.006008, allocations: 43.89 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.00615, allocations: 55.86 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.006172, allocations: 4 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.006302, allocations: 51.92 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.143e-05/0.006384, allocations: 19.92 kB / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.006419, allocations: 19.92 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.006646, allocations: 107.5 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006648, allocations: 0 / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.00665, allocations: 0 / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.006655, allocations: 0 / 381.8 MB, free: 15.02 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.0005273/0.007182, allocations: 447.8 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.007232, allocations: 12.03 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.007284, allocations: 12.84 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.007452, allocations: 157 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.007463, allocations: 384 / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.007492, allocations: 12.33 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.007644, allocations: 62.94 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.007656, allocations: 192 / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.007669, allocations: 8.359 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.007678, allocations: 384 / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.822e-05/0.007726, allocations: 23.86 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.008081, allocations: 295.8 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.008288, allocations: 55.02 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.206e-05/0.00832, allocations: 23.69 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.00834, allocations: 0 / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.008364, allocations: 37.33 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.008366, allocations: 0 / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008081/0.009174, allocations: 241.7 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.009223, allocations: 59.34 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.009415, allocations: 242.4 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.009432, allocations: 25.7 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.009513, allocations: 162.8 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.009549, allocations: 31.7 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.009604, allocations: 31.36 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.009768, allocations: 0.504 MB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.778e-05/0.009805, allocations: 11.98 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-05/0.009838, allocations: 16 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.754e-05/0.009926, allocations: 56 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.00993, allocations: 4 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001563/0.01009, allocations: 93.53 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.0101, allocations: 8 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01011, allocations: 0 / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.01012, allocations: 0 / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.652e-05/0.01022, allocations: 23.98 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.01023, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.231e-05/0.01027, allocations: 11.98 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.01028, allocations: 4 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.313e-05/0.01037, allocations: 164.5 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.01041, allocations: 11.95 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.01061, allocations: 115 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01062, allocations: 4 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01062, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.01063, allocations: 3.984 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.01106, allocations: 416.6 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01106, allocations: 0 / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.01113, allocations: 23.98 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.01113, allocations: 0 / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.01115, allocations: 11.98 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01115, allocations: 4.062 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01115, allocations: 0 / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.01135, allocations: 271 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.01136, allocations: 7.953 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.01138, allocations: 0 / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.01144, allocations: 8 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.01148, allocations: 11.92 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.01149, allocations: 4 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.01159, allocations: 175.1 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01159, allocations: 0 / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002603/0.01185, allocations: 27.95 kB / 385.6 MB, free: 10.86 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001289/0.01314, allocations: 440.5 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.01331, allocations: 63.53 kB / 386.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.01331, allocations: 4 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.706e-05/0.01337, allocations: 39.61 kB / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.01374, allocations: 21.92 kB / 386.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.01428, allocations: 270.8 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.611e-05/0.01433, allocations: 71.33 kB / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.142e-05/0.01439, allocations: 12.48 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.01443, allocations: 16.5 kB / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01443, allocations: 4 kB / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of Templates: time 0.004738/0.01917, allocations: 1.704 MB / 388.3 MB, free: 8.316 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.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.1073686513118446]