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.001007/0.001007, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009413/0.0009413, allocations: 160.5 kB / 24.55 MB, free: 20 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.043/1.043, allocations: 177 MB / 204.8 MB, free: 5.562 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.2714/0.2714, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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.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 1.944e-06/1.944e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.549e-05, allocations: 4 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002126/0.002151, allocations: 1.696 MB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007091/0.00286, allocations: 0.5485 MB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.002912, allocations: 0 / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.003343, allocations: 463 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.0037, allocations: 295.1 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.003916, allocations: 127.6 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.004106, allocations: 179.6 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.688e-05/0.004193, allocations: 11.98 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.004295, allocations: 123.8 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.004474, allocations: 235.6 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.00449, allocations: 4 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.936e-05/0.00456, allocations: 43.86 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.234e-05/0.004652, allocations: 87.66 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.004689, allocations: 47.72 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.004892, allocations: 191.2 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004894, allocations: 0 / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004895, allocations: 0 / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.004899, allocations: 0 / 382.8 MB, free: 14.04 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.0005032/0.005402, allocations: 0.697 MB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.005436, allocations: 8.031 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.00549, allocations: 52.59 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.005675, allocations: 244.9 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.005685, allocations: 8.375 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.005709, allocations: 4.359 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.005819, allocations: 66.89 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.005829, allocations: 4.172 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.005837, allocations: 384 / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.005844, allocations: 4.375 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.5e-05/0.005879, allocations: 15.92 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.006234, allocations: 427.6 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.852e-05/0.006303, allocations: 39.05 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/0.006325, allocations: 19.69 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.006344, allocations: 4 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.006362, allocations: 37.33 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.006363, allocations: 0 / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000405/0.006768, allocations: 212.7 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.006797, allocations: 59.39 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/0.00719, allocations: 0.6315 MB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.007199, allocations: 25.7 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.007371, allocations: 286.9 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.007392, allocations: 23.8 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.007423, allocations: 27.38 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.007569, allocations: 0.5547 MB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.007591, allocations: 8 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.655e-05/0.007608, allocations: 4 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.726e-05/0.007655, allocations: 35.67 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.007656, allocations: 0 / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001028/0.007759, allocations: 109.3 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.00777, allocations: 4 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.007775, allocations: 4 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.007789, allocations: 0 / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.258e-05/0.007871, allocations: 19.98 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.007876, allocations: 0 / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.007906, allocations: 7.938 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.007913, allocations: 7.984 kB / 386.4 MB, free: 10.2 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 6.563e-05/0.007979, allocations: 156.6 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.008014, allocations: 47.66 kB / 386.6 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.008148, allocations: 113.8 kB / 386.7 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.00815, allocations: 0 / 386.7 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.008154, allocations: 4 kB / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.008158, allocations: 7.922 kB / 386.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.008486, allocations: 481.3 kB / 387.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.008488, allocations: 0 / 387.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.00853, allocations: 19.92 kB / 387.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.008532, allocations: 0 / 387.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.00854, allocations: 4 kB / 387.2 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.008542, allocations: 0 / 387.2 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.008543, allocations: 3.984 kB / 387.2 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.008671, allocations: 255.5 kB / 387.5 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.008694, allocations: 35.72 kB / 387.5 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.00871, allocations: 0 / 387.5 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.373e-05/0.008753, allocations: 15.98 kB / 387.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.008788, allocations: 4 kB / 387.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.008791, allocations: 0 / 387.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002498/0.009041, allocations: 434.8 kB / 388 MB, free: 8.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009041, allocations: 0 / 388 MB, free: 8.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.009208, allocations: 24 kB / 388 MB, free: 8.547 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.0007644/0.009972, allocations: 377.1 kB / 388.4 MB, free: 8.285 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.987e-05/0.01007, allocations: 47.64 kB / 388.4 MB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01007, allocations: 4 kB / 388.4 MB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.817e-05/0.0101, allocations: 23.62 kB / 388.4 MB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.01033, allocations: 29.89 kB / 388.5 MB, free: 8.176 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008982/0.01123, allocations: 0.5863 MB / 389 MB, free: 7.559 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.747e-05/0.01131, allocations: 127.2 kB / 389.2 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.109e-05/0.01134, allocations: 8.297 kB / 389.2 MB, free: 7.406 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.01137, allocations: 24.48 kB / 389.2 MB, free: 7.383 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01137, allocations: 3.938 kB / 389.2 MB, free: 7.379 MB / 362.7 MB Notification: Performance of Templates: time 0.003791/0.01517, allocations: 1.501 MB / 390.7 MB, free: 5.891 MB / 362.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.430098118726164]