Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001686/0.001686, allocations: 85.58 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002261/0.002261, allocations: 157.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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.529/1.529, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 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.2088/0.2088, allocations: 34.25 MB / 294.8 MB, free: 14.55 MB / 286.1 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 3.938 kB / 442.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.025e-05, allocations: 4.953 kB / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003278/0.003308, allocations: 1.638 MB / 444.3 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.004514, allocations: 0.5486 MB / 444.9 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.616e-05/0.00458, allocations: 0 / 444.9 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.004894, allocations: 99.67 kB / 445 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.005239, allocations: 115.5 kB / 445.1 MB, free: 2.875 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.005612, allocations: 115.6 kB / 445.2 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.005819, allocations: 99.73 kB / 445.3 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.005928, allocations: 27.97 kB / 445.3 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.006064, allocations: 59.81 kB / 445.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.006187, allocations: 59.86 kB / 445.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.00621, allocations: 4 kB / 445.4 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.006327, allocations: 51.86 kB / 445.5 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.006389, allocations: 27.92 kB / 445.5 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.006435, allocations: 23.86 kB / 445.5 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.006688, allocations: 127.5 kB / 445.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.006692, allocations: 0 / 445.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006692, allocations: 0 / 445.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.006698, allocations: 3.938 kB / 445.7 MB, free: 2.285 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005644/0.007262, allocations: 369.4 kB / 446 MB, free: 1.891 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.007306, allocations: 8.031 kB / 446 MB, free: 1.883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.007357, allocations: 16.84 kB / 446.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.00758, allocations: 149.5 kB / 446.2 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.007597, allocations: 4.375 kB / 446.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.007621, allocations: 4.375 kB / 446.2 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.007816, allocations: 82.16 kB / 446.3 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.007831, allocations: 4.188 kB / 446.3 MB, free: 1.598 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.007842, allocations: 384 / 446.3 MB, free: 1.598 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.007849, allocations: 4.375 kB / 446.3 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.00799, allocations: 47.91 kB / 446.3 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.008478, allocations: 276.4 kB / 446.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.008647, allocations: 74.47 kB / 446.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.753e-05/0.008715, allocations: 24.78 kB / 446.7 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.00874, allocations: 4 kB / 446.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.00877, allocations: 34.56 kB / 446.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.008771, allocations: 0 / 446.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001199/0.009971, allocations: 337.1 kB / 447.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.01003, allocations: 59.34 kB / 447.1 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.01029, allocations: 235.6 kB / 447.4 MB, free: 448 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.01032, allocations: 25.7 kB / 447.4 MB, free: 416 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.581e-05/0.01041, allocations: 116.1 kB / 447.5 MB, free: 296 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.109e-05/0.01047, allocations: 43.66 kB / 447.6 MB, free: 252 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/0.01053, allocations: 29.7 kB / 447.6 MB, free: 216 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.182/0.1925, allocations: 326.6 kB / 447.9 MB, free: 18.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.1927, allocations: 45.09 kB / 447.9 MB, free: 18.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.1928, allocations: 50.34 kB / 448 MB, free: 18.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.193, allocations: 109 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.193, allocations: 0 / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003395/0.1933, allocations: 154.1 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1934, allocations: 6.219 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.1934, allocations: 1.641 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.1934, allocations: 0.75 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1935, allocations: 26.23 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1935, allocations: 4.688 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.443e-05/0.1936, allocations: 15.61 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1936, allocations: 4.188 kB / 448.3 MB, free: 18.86 MB / 366.1 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 (13): * Single equations (assignments): 13 * 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 9.563e-05/0.1937, allocations: 140.9 kB / 448.4 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.1937, allocations: 12.64 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.1941, allocations: 182.3 kB / 448.6 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1941, allocations: 2.906 kB / 448.6 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1941, allocations: 4.906 kB / 448.6 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1941, allocations: 0.7031 kB / 448.6 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/0.1947, allocations: 442.2 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1947, allocations: 2.375 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.1949, allocations: 27.98 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1949, allocations: 1.281 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1949, allocations: 6.125 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1949, allocations: 1.844 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1949, allocations: 1 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.1952, allocations: 255.2 kB / 449.4 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.1952, allocations: 17.92 kB / 449.4 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.1952, allocations: 6.047 kB / 449.4 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-05/0.1953, allocations: 5.953 kB / 449.4 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.1953, allocations: 12.95 kB / 449.4 MB, free: 18.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.1954, allocations: 4.109 kB / 449.4 MB, free: 18.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.1955, allocations: 179.4 kB / 449.6 MB, free: 18.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1955, allocations: 3.281 kB / 449.6 MB, free: 18.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.1958, allocations: 32.89 kB / 449.6 MB, free: 18.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001814/0.1976, allocations: 479.8 kB / 450.1 MB, free: 17.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.1979, allocations: 118.4 kB / 450.2 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1979, allocations: 0 / 450.2 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.198, allocations: 58.75 kB / 450.3 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.1984, allocations: 29.3 kB / 450.3 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.199, allocations: 324.2 kB / 450.6 MB, free: 17.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.217e-05/0.199, allocations: 113.8 kB / 450.7 MB, free: 17.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.663e-05/0.1991, allocations: 30.83 kB / 450.7 MB, free: 17.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.1992, allocations: 22.39 kB / 450.8 MB, free: 17.61 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1992, allocations: 0 / 450.8 MB, free: 17.61 MB / 366.1 MB Notification: Performance of Templates: time 0.004859/0.204, allocations: 1.585 MB / 452.4 MB, free: 17.41 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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: 4.963661525398493]