Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001033/0.001033, allocations: 85.91 kB / 22.22 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.001115/0.001115, allocations: 163.4 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.02/1.02, allocations: 177 MB / 205.9 MB, free: 4.461 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.1575/0.1575, allocations: 34.87 MB / 297.4 MB, free: 13.35 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.087e-05, allocations: 3.891 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003234/0.003265, allocations: 1.686 MB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.004293, allocations: 0.5446 MB / 382.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.163e-05/0.004374, allocations: 0 / 382.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006102/0.004985, allocations: 455 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005765/0.005561, allocations: 291.2 kB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.005971, allocations: 135.6 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.006196, allocations: 171.6 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.006312, allocations: 15.94 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.006446, allocations: 127.7 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.006667, allocations: 239.6 kB / 383.7 MB, free: 19.08 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.006689, allocations: 4 kB / 383.7 MB, free: 19.08 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.006798, allocations: 35.98 kB / 383.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.00693, allocations: 83.7 kB / 383.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.928e-05/0.006979, allocations: 43.67 kB / 383.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.007271, allocations: 203.1 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.007276, allocations: 0 / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.007278, allocations: 0 / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.007284, allocations: 0 / 384 MB, free: 18.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000677/0.007961, allocations: 0.7048 MB / 384.7 MB, free: 17.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.008009, allocations: 8.031 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/0.00808, allocations: 44.66 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.00833, allocations: 248.8 kB / 385 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.008343, allocations: 384 / 385 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.008368, allocations: 4.375 kB / 385 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.00852, allocations: 66.88 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.008534, allocations: 192 / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.008544, allocations: 384 / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.008552, allocations: 384 / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.758e-05/0.008589, allocations: 19.86 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.008973, allocations: 340.2 kB / 385.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.709e-05/0.00907, allocations: 50.98 kB / 385.5 MB, free: 17.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.299e-05/0.009093, allocations: 15.77 kB / 385.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.009116, allocations: 0 / 385.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.009141, allocations: 33.39 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.943e-06/0.009143, allocations: 0 / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005127/0.009656, allocations: 153.2 kB / 385.7 MB, free: 16.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.009684, allocations: 51.41 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004436/0.01013, allocations: 0.6079 MB / 386.4 MB, free: 16.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.01014, allocations: 33.7 kB / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.01032, allocations: 290.7 kB / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.01035, allocations: 23.8 kB / 386.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.0104, allocations: 31.34 kB / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.01057, allocations: 0.5469 MB / 387.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.0106, allocations: 7.984 kB / 387.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.804e-05/0.01062, allocations: 15.98 kB / 387.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.834e-05/0.01068, allocations: 27.61 kB / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01068, allocations: 0 / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001493/0.01083, allocations: 109.3 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.01085, allocations: 8 kB / 387.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.01086, allocations: 0 / 387.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.01088, allocations: 0 / 387.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.01101, allocations: 19.98 kB / 387.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.01101, allocations: 0 / 387.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.01106, allocations: 4 kB / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.01107, allocations: 4 kB / 387.5 MB, free: 15.07 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 (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.0001124/0.01118, allocations: 160.5 kB / 387.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.01124, allocations: 51.66 kB / 387.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.01147, allocations: 105.5 kB / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01148, allocations: 0 / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.01148, allocations: 0 / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01148, allocations: 4.281 kB / 387.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.01197, allocations: 402.2 kB / 388.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.01198, allocations: 7.875 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.01208, allocations: 19.98 kB / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.01209, allocations: 3.984 kB / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.0121, allocations: 0 / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.0121, allocations: 0 / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.01211, allocations: 0 / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.01231, allocations: 259.5 kB / 388.5 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.01235, allocations: 35.66 kB / 388.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.01238, allocations: 0 / 388.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.974e-05/0.01247, allocations: 7.984 kB / 388.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.01251, allocations: 11.98 kB / 388.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.01252, allocations: 0 / 388.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000244/0.01276, allocations: 394.7 kB / 388.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.01276, allocations: 0 / 388.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.01302, allocations: 27.92 kB / 388.9 MB, free: 13.54 MB / 314.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.001146/0.01417, allocations: 370.2 kB / 389.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.0143, allocations: 39.59 kB / 389.3 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.0143, allocations: 0 / 389.3 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.01433, allocations: 27.67 kB / 389.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.01469, allocations: 36.28 kB / 389.4 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008401/0.01553, allocations: 0.5823 MB / 390 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.252e-05/0.01563, allocations: 119.2 kB / 390.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.924e-05/0.01569, allocations: 16.28 kB / 390.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.457e-05/0.01576, allocations: 78.2 kB / 390.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01576, allocations: 0 / 390.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of Templates: time 0.005517/0.02128, allocations: 1.636 MB / 391.8 MB, free: 10.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.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.3652185541577637]