Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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.001462/0.001462, allocations: 84.34 kB / 22.22 MB, free: 2.281 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.001875/0.001875, allocations: 164 kB / 25.61 MB, free: 8.859 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 0.9631/0.9631, allocations: 177 MB / 205.9 MB, free: 4.457 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.1552/0.1552, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 3.938 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.192e-05, allocations: 2.312 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002328/0.00235, allocations: 1.632 MB / 381.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.003554, allocations: 1.27 MB / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.003629, allocations: 0 / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.003907, allocations: 39.66 kB / 383 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.00422, allocations: 87.53 kB / 383.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.004471, allocations: 103.7 kB / 383.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.004603, allocations: 71.77 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.004703, allocations: 12 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.944e-05/0.004763, allocations: 39.89 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.004866, allocations: 19.92 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.004882, allocations: 4 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.005016, allocations: 95.81 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.321e-05/0.005059, allocations: 15.92 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.005082, allocations: 15.92 kB / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.005267, allocations: 127.6 kB / 383.6 MB, free: 19.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.005269, allocations: 0 / 383.6 MB, free: 19.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005269, allocations: 0 / 383.6 MB, free: 19.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.005275, allocations: 4 kB / 383.6 MB, free: 19.18 MB / 314.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.0003867/0.005662, allocations: 439.9 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.0057, allocations: 12.02 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.005741, allocations: 8.891 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.005889, allocations: 136.4 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.0059, allocations: 384 / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.00592, allocations: 4.375 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.00603, allocations: 100 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.006042, allocations: 192 / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.00605, allocations: 384 / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.006056, allocations: 384 / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.38e-05/0.00608, allocations: 15.94 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002363/0.006316, allocations: 264.3 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.006454, allocations: 39.05 kB / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.00647, allocations: 11.67 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.006485, allocations: 4 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.0065, allocations: 37.39 kB / 384.6 MB, free: 17.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.006501, allocations: 0 / 384.6 MB, free: 17.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002763/0.006777, allocations: 89.58 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.006804, allocations: 81.11 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.703e-05/0.006881, allocations: 191.4 kB / 385 MB, free: 17.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.006888, allocations: 33.7 kB / 385 MB, free: 17.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.006922, allocations: 158.7 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.00694, allocations: 11.86 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.006967, allocations: 27.36 kB / 385.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.002e-05/0.007017, allocations: 0.4884 MB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.007027, allocations: 4 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.007052, allocations: 53.05 kB / 385.7 MB, free: 16.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.946e-05/0.007082, allocations: 23.88 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.007083, allocations: 4 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.145e-05/0.007144, allocations: 57.58 kB / 385.8 MB, free: 16.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.007155, allocations: 15.97 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.007159, allocations: 0 / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.007168, allocations: 0 / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.755e-05/0.007205, allocations: 11.98 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.007208, allocations: 3.984 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/0.007227, allocations: 4 kB / 385.8 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.007231, allocations: 0 / 385.8 MB, free: 16.65 MB / 314.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 4.341e-05/0.007275, allocations: 160.6 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.007294, allocations: 7.953 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.735e-05/0.007381, allocations: 66.08 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.007383, allocations: 4 kB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.007385, allocations: 3.938 kB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.007388, allocations: 0 / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.007567, allocations: 298.1 kB / 386.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.007569, allocations: 0 / 386.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.007591, allocations: 8 kB / 386.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.007594, allocations: 7.938 kB / 386.4 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.007598, allocations: 0 / 386.4 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007599, allocations: 0 / 386.4 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.007601, allocations: 0 / 386.4 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.302e-05/0.007674, allocations: 212 kB / 386.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-06/0.007684, allocations: 15.94 kB / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.007695, allocations: 4 kB / 386.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.101e-05/0.007726, allocations: 4 kB / 386.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.00775, allocations: 3.984 kB / 386.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.007754, allocations: 4 kB / 386.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.589e-05/0.00779, allocations: 149.6 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00779, allocations: 0 / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00018/0.00797, allocations: 39.86 kB / 386.8 MB, free: 15.62 MB / 314.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.00101/0.00898, allocations: 489 kB / 387.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.963e-05/0.00906, allocations: 27.62 kB / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.009061, allocations: 0 / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.773e-05/0.009079, allocations: 23.66 kB / 387.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.009262, allocations: 18.48 kB / 387.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.009517, allocations: 168.1 kB / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.884e-05/0.009546, allocations: 67.2 kB / 387.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.673e-05/0.009582, allocations: 15.92 kB / 387.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.009639, allocations: 86.19 kB / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.00964, allocations: 0 / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of Templates: time 0.003426/0.01307, allocations: 2.044 MB / 389.7 MB, free: 12.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.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.2826759382151067]