Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.000983/0.000983, allocations: 81.91 kB / 21.42 MB, free: 3.066 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.001054/0.001054, allocations: 166.6 kB / 24.82 MB, free: 9.266 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.011/1.011, allocations: 177 MB / 205.1 MB, free: 5.469 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.289/0.289, allocations: 34.87 MB / 296.6 MB, free: 0.5234 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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.154e-05, allocations: 4.281 kB / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002053/0.002075, allocations: 1.626 MB / 380.9 MB, free: 188 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.003401, allocations: 1.289 MB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.423e-05/0.003456, allocations: 0 / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.003646, allocations: 23.8 kB / 382.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.003899, allocations: 91.55 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.004091, allocations: 111.6 kB / 382.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.004211, allocations: 71.77 kB / 382.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.314e-05/0.004295, allocations: 19.78 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.004419, allocations: 27.92 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.004525, allocations: 31.89 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.004542, allocations: 4 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.004659, allocations: 91.81 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.004706, allocations: 11.94 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.004731, allocations: 19.97 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.004912, allocations: 131.6 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.004913, allocations: 0 / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.004914, allocations: 0 / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004918, allocations: 0 / 382.8 MB, free: 14.27 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003641/0.005282, allocations: 432 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.005322, allocations: 12.03 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.005353, allocations: 12.83 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.005484, allocations: 136.5 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.005494, allocations: 4.375 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.005511, allocations: 4.375 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.00564, allocations: 104 kB / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.00565, allocations: 192 / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.005657, allocations: 384 / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.005664, allocations: 384 / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.179e-05/0.005686, allocations: 15.88 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.005913, allocations: 252.4 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.006035, allocations: 39.05 kB / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.006051, allocations: 15.62 kB / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.006071, allocations: 0 / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.006095, allocations: 49.38 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 6.21e-07/0.006095, allocations: 0 / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002577/0.006353, allocations: 97.5 kB / 383.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.006382, allocations: 77.11 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.006667, allocations: 189.9 kB / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.006684, allocations: 25.7 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.006762, allocations: 154.8 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.006784, allocations: 11.91 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.006822, allocations: 23.38 kB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.006949, allocations: 0.4923 MB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.006965, allocations: 8 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/0.006999, allocations: 49.06 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.188e-05/0.007031, allocations: 23.88 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.007033, allocations: 4 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.145e-05/0.007105, allocations: 57.58 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.007117, allocations: 7.938 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.007121, allocations: 0 / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.007134, allocations: 4 kB / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.248e-05/0.007176, allocations: 8 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.00718, allocations: 3.984 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.007201, allocations: 8.031 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.007205, allocations: 3.938 kB / 385.1 MB, free: 11.74 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 (5): * Single equations (assignments): 5 * 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.02e-05/0.007266, allocations: 160.6 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.007286, allocations: 11.95 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.612e-05/0.007383, allocations: 73.95 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007384, allocations: 0 / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.007386, allocations: 0 / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.007388, allocations: 0 / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.00761, allocations: 290.1 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.007612, allocations: 3.984 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.007641, allocations: 15.94 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.007645, allocations: 3.938 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.007651, allocations: 8 kB / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.007652, allocations: 0 / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.007653, allocations: 0 / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.16e-05/0.007745, allocations: 204.1 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.007755, allocations: 11.88 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.007765, allocations: 4 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.199e-05/0.007797, allocations: 0 / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.007822, allocations: 8 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.007826, allocations: 3.984 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.197e-05/0.007878, allocations: 149.8 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007878, allocations: 0 / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.008056, allocations: 39.86 kB / 386 MB, free: 10.7 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 (5): * Single equations (assignments): 5 * 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.000998/0.009054, allocations: 481.3 kB / 386.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.903e-05/0.009133, allocations: 23.67 kB / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.009136, allocations: 4 kB / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.948e-05/0.009156, allocations: 19.8 kB / 386.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.00935, allocations: 16.11 kB / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.009617, allocations: 193.7 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.354e-05/0.00965, allocations: 59.34 kB / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.896e-05/0.009689, allocations: 15.98 kB / 386.8 MB, free: 9.984 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.009754, allocations: 86.19 kB / 386.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of SimCode: time 9.51e-07/0.009755, allocations: 0 / 386.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of Templates: time 0.003723/0.01348, allocations: 2.034 MB / 389 MB, free: 7.883 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.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: 2.950298792682588]