Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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: 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.001037/0.001037, 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 0.9479/0.9479, allocations: 177 MB / 204.8 MB, free: 5.59 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.2774/0.2774, allocations: 34.87 MB / 296.3 MB, free: 496 kB / 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.321e-05, allocations: 3.578 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002331/0.002354, allocations: 1.633 MB / 380.4 MB, free: 416 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007965/0.00315, allocations: 0.5525 MB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.003211, allocations: 3.938 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.00347, allocations: 79.7 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.003755, allocations: 103.5 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.004, allocations: 115.7 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.004156, allocations: 87.69 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.774e-05/0.004254, allocations: 11.98 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.523e-05/0.004319, allocations: 39.91 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.004423, allocations: 59.86 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.004437, allocations: 4 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.004515, allocations: 47.91 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.776e-05/0.004563, allocations: 19.92 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.004595, allocations: 11.94 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.004757, allocations: 103.5 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.004759, allocations: 0 / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004759, allocations: 0 / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.004763, allocations: 0 / 381.7 MB, free: 15.18 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.0003799/0.005143, allocations: 435.9 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.005183, allocations: 12.03 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.005226, allocations: 16.84 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.005354, allocations: 149.1 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-06/0.005361, allocations: 384 / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.005382, allocations: 4.375 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.00549, allocations: 66.88 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.005501, allocations: 8.172 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.005509, allocations: 384 / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.005516, allocations: 4.375 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.123e-05/0.005547, allocations: 15.92 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.005844, allocations: 299.7 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.06e-05/0.005905, allocations: 42.98 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.005926, allocations: 11.69 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.005943, allocations: 4 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.005964, allocations: 41.33 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.005965, allocations: 0 / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005023/0.006467, allocations: 177.3 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.006494, allocations: 51.41 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.006635, allocations: 238.4 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.006648, allocations: 33.64 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.006701, allocations: 150.9 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.006725, allocations: 31.73 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.006758, allocations: 27.38 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.006868, allocations: 0.4962 MB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/0.006889, allocations: 11.98 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.595e-05/0.006905, allocations: 8 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.556e-05/0.00695, allocations: 31.69 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.006951, allocations: 4 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.726e-05/0.007038, allocations: 81.59 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.007051, allocations: 7.984 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.007055, allocations: 0 / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.007069, allocations: 4 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.872e-05/0.007137, allocations: 15.94 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.007143, allocations: 0 / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.002e-05/0.007163, allocations: 11.98 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.007169, allocations: 4 kB / 384.1 MB, free: 12.5 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 (8): * Single equations (assignments): 8 * 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.127e-05/0.007231, allocations: 156.6 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.007254, allocations: 19.84 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.007383, allocations: 91.38 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.007386, allocations: 3.984 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.007389, allocations: 0 / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.007391, allocations: 0 / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.007679, allocations: 380.9 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.007681, allocations: 0 / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.007718, allocations: 20.02 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.007719, allocations: 0 / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.00773, allocations: 12 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007731, allocations: 3.938 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007732, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.007857, allocations: 243.8 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.297e-06/0.007867, allocations: 7.953 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.007877, allocations: 0 / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.586e-05/0.007913, allocations: 8 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.007944, allocations: 11.97 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.007948, allocations: 4 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.082e-05/0.008019, allocations: 167.2 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008019, allocations: 0 / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.008187, allocations: 23.94 kB / 385.2 MB, free: 11.29 MB / 362.7 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 (8): * Single equations (assignments): 8 * 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.0008662/0.009053, allocations: 431.8 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.009156, allocations: 47.59 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009158, allocations: 0 / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.409e-05/0.009192, allocations: 31.77 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.009401, allocations: 32.14 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/0.009751, allocations: 229.9 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.325e-05/0.009794, allocations: 67.33 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.824e-05/0.009833, allocations: 16.72 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.009862, allocations: 16.5 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009862, allocations: 4 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of Templates: time 0.003233/0.0131, allocations: 1.407 MB / 387.5 MB, free: 9.102 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.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.3718841900117695]