Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.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.002523/0.002523, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002084/0.002084, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.619/1.619, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.342/0.342, allocations: 34.26 MB / 295.2 MB, free: 0.6289 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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.817e-05, allocations: 2.312 kB / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003289/0.003317, allocations: 1.68 MB / 378.9 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.005756, allocations: 1.301 MB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.05e-05/0.005817, allocations: 0 / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.006052, allocations: 23.78 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.006412, allocations: 83.56 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.006862, allocations: 183.4 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.007046, allocations: 83.7 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.007172, allocations: 11.98 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.007276, allocations: 39.91 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.007428, allocations: 35.89 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.007453, allocations: 8 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.007686, allocations: 95.81 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.455e-05/0.007771, allocations: 15.92 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.209e-05/0.007813, allocations: 12 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.008158, allocations: 163.4 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.008163, allocations: 4 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008164, allocations: 0 / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.008169, allocations: 0 / 380.9 MB, free: 15.14 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006475/0.008817, allocations: 431.7 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.008862, allocations: 15.97 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.049e-05/0.008922, allocations: 12.89 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.009164, allocations: 152.4 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.009176, allocations: 384 / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.009202, allocations: 4.375 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.009412, allocations: 99.31 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.009423, allocations: 192 / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.009434, allocations: 384 / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.00944, allocations: 4.375 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.009561, allocations: 27.92 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.01005, allocations: 303.7 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.01018, allocations: 47.05 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.618e-05/0.01025, allocations: 19.69 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.01027, allocations: 0 / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.01031, allocations: 41.42 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.856e-06/0.01031, allocations: 3.984 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007272/0.01104, allocations: 185.3 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.01111, allocations: 81.05 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.01131, allocations: 208.9 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.01135, allocations: 33.7 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.01145, allocations: 142.9 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.01149, allocations: 27.75 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.01155, allocations: 27.36 kB / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002727/0.01182, allocations: 0.4962 MB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.01193, allocations: 19.97 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.01206, allocations: 77.06 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.01223, allocations: 59.88 kB / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01223, allocations: 0 / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002452/0.01248, allocations: 93.5 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.0125, allocations: 8 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.0125, allocations: 3.984 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.01252, allocations: 0 / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.01264, allocations: 16 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01265, allocations: 4.031 kB / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.0127, allocations: 7.984 kB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.01271, allocations: 7.938 kB / 383.6 MB, free: 12.28 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 (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 0.000138/0.01285, allocations: 160.6 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.01289, allocations: 11.89 kB / 383.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.01322, allocations: 110.3 kB / 383.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.01323, allocations: 0 / 383.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.01323, allocations: 4 kB / 383.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01324, allocations: 8 kB / 383.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.01381, allocations: 377.3 kB / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01382, allocations: 0 / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.659e-05/0.01389, allocations: 15.94 kB / 384.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01389, allocations: 0 / 384.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.01391, allocations: 3.984 kB / 384.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01391, allocations: 0 / 384.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01391, allocations: 4 kB / 384.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.01426, allocations: 243.8 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.01428, allocations: 15.94 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.0143, allocations: 0 / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.01438, allocations: 4 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.01442, allocations: 3.984 kB / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.01443, allocations: 4 kB / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.01456, allocations: 159.2 kB / 384.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01456, allocations: 0 / 384.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002965/0.01486, allocations: 39.88 kB / 384.7 MB, free: 11.05 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.003309/0.01817, allocations: 0.5247 MB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.01845, allocations: 67.64 kB / 385.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01845, allocations: 0 / 385.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.01857, allocations: 43.61 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.01889, allocations: 27.88 kB / 385.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006112/0.0195, allocations: 212.8 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.01961, allocations: 83.31 kB / 385.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.97e-05/0.0197, allocations: 25 kB / 385.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.01975, allocations: 16.5 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01976, allocations: 0 / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of Templates: time 0.00637/0.02613, allocations: 2.013 MB / 387.7 MB, free: 8.184 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.147023615078069]