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.001251/0.001251, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001363/0.001363, allocations: 166.8 kB / 25.61 MB, free: 8.582 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.063/1.063, allocations: 177 MB / 205.9 MB, free: 4.457 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.1633/0.1633, allocations: 34.87 MB / 297.4 MB, free: 13.32 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.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.603e-06/1.603e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.791e-05, allocations: 3 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002332/0.00236, allocations: 1.701 MB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006235/0.002984, allocations: 0.5484 MB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.003037, allocations: 0 / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.003262, allocations: 71.64 kB / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.003475, allocations: 103.5 kB / 382.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.003683, allocations: 135.6 kB / 382.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.003814, allocations: 83.8 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.003908, allocations: 16.17 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.772e-05/0.003975, allocations: 51.83 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.473e-05/0.00406, allocations: 51.86 kB / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.004073, allocations: 4 kB / 382.8 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.467e-05/0.004148, allocations: 55.84 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.004209, allocations: 27.92 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.004227, allocations: 11.94 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.004364, allocations: 103.6 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.004367, allocations: 0 / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004368, allocations: 0 / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.004374, allocations: 4 kB / 383 MB, free: 19.74 MB / 314.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.0003257/0.004699, allocations: 451.8 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.004728, allocations: 8.031 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.004762, allocations: 16.84 kB / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.004864, allocations: 146.5 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.004872, allocations: 384 / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.004888, allocations: 8.375 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/0.004978, allocations: 70.88 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.004987, allocations: 192 / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.004995, allocations: 4.375 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.005, allocations: 384 / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.486e-05/0.005025, allocations: 15.92 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.005234, allocations: 276.2 kB / 384 MB, free: 18.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.00539, allocations: 59.02 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.005412, allocations: 11.69 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.005433, allocations: 0 / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.005451, allocations: 37.39 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.005453, allocations: 0 / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.000517/0.00597, allocations: 233.8 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.005991, allocations: 55.41 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/0.006072, allocations: 230.8 kB / 384.6 MB, free: 17.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.313e-06/0.006079, allocations: 33.7 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.006115, allocations: 158.8 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.006137, allocations: 35.69 kB / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.006166, allocations: 31.36 kB / 384.8 MB, free: 17.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.413e-05/0.00621, allocations: 0.5001 MB / 385.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.006227, allocations: 8 kB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/0.006245, allocations: 11.98 kB / 385.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.492e-05/0.00629, allocations: 41 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.006291, allocations: 11.94 kB / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.203e-05/0.006383, allocations: 89.47 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.006395, allocations: 4 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.0064, allocations: 4 kB / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.006411, allocations: 4 kB / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.006479, allocations: 19.98 kB / 385.5 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.006482, allocations: 4 kB / 385.5 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.006505, allocations: 7.984 kB / 385.5 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.006511, allocations: 0 / 385.5 MB, free: 17 MB / 314.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 4.77e-05/0.006559, allocations: 168.5 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.006583, allocations: 19.91 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.006715, allocations: 98.78 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.006718, allocations: 4 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.00672, allocations: 4 kB / 385.8 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.006723, allocations: 0 / 385.8 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.006974, allocations: 385.2 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.006975, allocations: 0 / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-05/0.007026, allocations: 23.98 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.007028, allocations: 0 / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.007034, allocations: 4 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007036, allocations: 0 / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.007037, allocations: 3.938 kB / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.273e-05/0.00713, allocations: 267.1 kB / 386.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.007139, allocations: 11.91 kB / 386.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.007152, allocations: 7.984 kB / 386.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.049e-05/0.007193, allocations: 8 kB / 386.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.007222, allocations: 11.97 kB / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.007227, allocations: 4 kB / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.121e-05/0.007268, allocations: 171 kB / 386.7 MB, free: 15.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007268, allocations: 0 / 386.7 MB, free: 15.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.007443, allocations: 27.92 kB / 386.7 MB, free: 15.71 MB / 314.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.0009367/0.008379, allocations: 431.7 kB / 387.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.139e-05/0.008471, allocations: 59.53 kB / 387.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008472, allocations: 0 / 387.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.853e-05/0.008501, allocations: 31.61 kB / 387.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.008711, allocations: 27.97 kB / 387.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.009025, allocations: 266.6 kB / 387.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.992e-05/0.009055, allocations: 79.45 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.581e-05/0.009091, allocations: 16.44 kB / 387.6 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.009141, allocations: 86.12 kB / 387.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.009142, allocations: 0 / 387.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of Templates: time 0.003314/0.01246, allocations: 1.774 MB / 389.5 MB, free: 13.09 MB / 314.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.5389415719546378]