Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001036/0.001036, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.00122/0.00122, allocations: 156.5 kB / 24.55 MB, free: 12 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.9533/0.9533, allocations: 177 MB / 204.8 MB, free: 5.578 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.2755/0.2755, 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 3.938 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.248e-05, allocations: 4.562 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002882/0.002914, allocations: 1.703 MB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008172/0.003732, allocations: 0.8062 MB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.003772, allocations: 0 / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.004038, allocations: 27.78 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.004272, allocations: 43.77 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.547e-06/0.004276, allocations: 3.938 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.004448, allocations: 39.89 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.004483, allocations: 0 / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.487e-05/0.004567, allocations: 15.92 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.934e-05/0.004597, allocations: 11.98 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.004608, allocations: 0 / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.192e-05/0.00466, allocations: 15.98 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.004707, allocations: 15.94 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.004732, allocations: 7.938 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.004874, allocations: 55.7 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004877, allocations: 0 / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004877, allocations: 3.938 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.004882, allocations: 4 kB / 381.5 MB, free: 15.3 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003669/0.005249, allocations: 392.4 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.005288, allocations: 8.031 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.005333, allocations: 12.89 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.005476, allocations: 120.5 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.005487, allocations: 4.375 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.005498, allocations: 384 / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.005646, allocations: 116.3 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.005658, allocations: 4.188 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.005671, allocations: 4.375 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.134e-05/0.005722, allocations: 20.36 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.752e-05/0.00577, allocations: 39.8 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.006355, allocations: 1.203 MB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.162e-05/0.006446, allocations: 261.4 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.006487, allocations: 126.9 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.006521, allocations: 123.2 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/0.006574, allocations: 164.6 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.006575, allocations: 0 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.729e-05/0.006642, allocations: 41.62 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.006699, allocations: 170.6 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.007008, allocations: 251.9 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.007018, allocations: 29.7 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.919e-05/0.007117, allocations: 202.1 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-06/0.007122, allocations: 4 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.029e-05/0.007182, allocations: 51.31 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.007316, allocations: 0.5001 MB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.694e-05/0.007343, allocations: 8 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.007465, allocations: 197.7 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.007643, allocations: 229.5 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.007646, allocations: 0 / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002486/0.007895, allocations: 169.4 kB / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.00791, allocations: 4 kB / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.007918, allocations: 8 kB / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.007935, allocations: 7.938 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.008058, allocations: 39.92 kB / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.008071, allocations: 11.94 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.054e-05/0.008152, allocations: 19.84 kB / 386 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.008168, allocations: 12.38 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001079/0.008276, allocations: 299.6 kB / 386.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.32e-05/0.008339, allocations: 152.8 kB / 386.5 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.802e-05/0.008397, allocations: 160.6 kB / 386.6 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.581e-05/0.008463, allocations: 268 kB / 386.9 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.273e-05/0.008525, allocations: 268.2 kB / 387.1 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.348e-05/0.008589, allocations: 276 kB / 387.4 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.008805, allocations: 0.5077 MB / 387.9 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.716e-05/0.008842, allocations: 152.8 kB / 388.1 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.008877, allocations: 144.9 kB / 388.2 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.354e-05/0.008941, allocations: 268.1 kB / 388.5 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/0.009005, allocations: 276 kB / 388.7 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.788e-05/0.009073, allocations: 264.1 kB / 389 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.651e-05/0.00914, allocations: 275.9 kB / 389.3 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.009276, allocations: 455.9 kB / 389.7 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.00932, allocations: 156.8 kB / 389.9 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.525e-05/0.009395, allocations: 272.1 kB / 390.1 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.009471, allocations: 152.8 kB / 390.3 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.009539, allocations: 268 kB / 390.5 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.009577, allocations: 152.8 kB / 390.7 MB, free: 5.508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.923e-05/0.009656, allocations: 164 kB / 390.9 MB, free: 5.348 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009656, allocations: 7.938 kB / 390.9 MB, free: 5.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002883/0.009944, allocations: 12 kB / 390.9 MB, free: 5.328 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 (0): * Single equations (assignments): 0 * 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.0004905/0.01043, allocations: 306.8 kB / 391.2 MB, free: 5.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.01056, allocations: 66.75 kB / 391.2 MB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01056, allocations: 1.25 kB / 391.2 MB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.01056, allocations: 0 / 391.2 MB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.01104, allocations: 0.7152 MB / 392 MB, free: 4.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.01134, allocations: 281.3 kB / 392.2 MB, free: 3.965 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.601e-05/0.01139, allocations: 67.83 kB / 392.3 MB, free: 3.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.01149, allocations: 49.08 kB / 392.3 MB, free: 3.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.01152, allocations: 12.5 kB / 392.4 MB, free: 3.82 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01152, allocations: 0 / 392.4 MB, free: 3.82 MB / 362.7 MB Notification: Performance of Templates: time 0.002813/0.01433, allocations: 0.7682 MB / 393.1 MB, free: 3.062 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.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.078161512967199]