Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001535/0.001535, allocations: 84.25 kB / 22.21 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.001239/0.001239, allocations: 165.4 kB / 25.61 MB, free: 8.578 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.014/1.014, allocations: 177 MB / 205.9 MB, free: 4.426 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.2076/0.2076, allocations: 34.87 MB / 297.4 MB, free: 13.32 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.CombiTable1Ds.Test7,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.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.199e-05, allocations: 7.828 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002166/0.002198, allocations: 1.619 MB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007092/0.002907, allocations: 0.5291 MB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.002972, allocations: 0 / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.003216, allocations: 31.84 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.003484, allocations: 75.56 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.0037, allocations: 95.62 kB / 382.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.003835, allocations: 71.72 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.906e-05/0.003934, allocations: 11.97 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.382e-05/0.003998, allocations: 27.92 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.869e-05/0.004057, allocations: 11.98 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.00407, allocations: 7.938 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.851e-05/0.004138, allocations: 27.98 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.004181, allocations: 15.98 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.004204, allocations: 15.92 kB / 382.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.004341, allocations: 75.69 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004343, allocations: 0 / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004344, allocations: 0 / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.004349, allocations: 0 / 382.6 MB, free: 20.09 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.0003008/0.00465, allocations: 416 kB / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.004684, allocations: 16.02 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.004714, allocations: 8.891 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.004817, allocations: 138.5 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.004825, allocations: 4.375 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.004843, allocations: 12.3 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.796e-05/0.004931, allocations: 50.95 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.004941, allocations: 4.172 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.004947, allocations: 384 / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.004952, allocations: 384 / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.385e-05/0.004976, allocations: 15.92 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.005193, allocations: 240.4 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.005328, allocations: 47.05 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.005342, allocations: 11.69 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.00536, allocations: 4 kB / 383.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.005378, allocations: 37.39 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.005379, allocations: 0 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002677/0.005647, allocations: 93.53 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.005668, allocations: 51.41 kB / 383.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.331e-05/0.005742, allocations: 204.9 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-06/0.005747, allocations: 25.7 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.005778, allocations: 150.8 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.005798, allocations: 15.91 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.005823, allocations: 23.36 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.749e-05/0.00588, allocations: 0.4962 MB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.369e-05/0.005894, allocations: 3.984 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.012e-05/0.005904, allocations: 7.938 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.93e-05/0.005933, allocations: 27.62 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.005934, allocations: 0 / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.749e-05/0.006002, allocations: 65.72 kB / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.006014, allocations: 8 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.006018, allocations: 0 / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.006027, allocations: 0 / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.435e-05/0.006071, allocations: 11.98 kB / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.006073, allocations: 0 / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.006091, allocations: 12 kB / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.006095, allocations: 3.984 kB / 384.8 MB, free: 17.72 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.558e-05/0.006141, allocations: 160.5 kB / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.00616, allocations: 11.89 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.311e-05/0.006253, allocations: 62.14 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.006257, allocations: 0 / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006258, allocations: 0 / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006261, allocations: 4 kB / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.006429, allocations: 298 kB / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.00643, allocations: 4 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.006458, allocations: 15.98 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.00646, allocations: 0 / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.006465, allocations: 0 / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.006466, allocations: 0 / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.006468, allocations: 0 / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.674e-05/0.006545, allocations: 207.8 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.006552, allocations: 7.953 kB / 385.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.006563, allocations: 4.188 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.959e-05/0.006593, allocations: 7.984 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.006615, allocations: 4.281 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.006618, allocations: 4 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.491e-05/0.006653, allocations: 155.1 kB / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.006653, allocations: 0 / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001678/0.006821, allocations: 11.94 kB / 385.7 MB, free: 16.71 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.0008547/0.007676, allocations: 388.6 kB / 386.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.077e-05/0.007757, allocations: 23.67 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.007759, allocations: 0 / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.007779, allocations: 23.62 kB / 386.2 MB, free: 16.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.00799, allocations: 22.73 kB / 386.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.008249, allocations: 176.5 kB / 386.4 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.453e-05/0.008274, allocations: 63.2 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.598e-05/0.0083, allocations: 15.98 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.008341, allocations: 78.19 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008342, allocations: 0 / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of Templates: time 0.002879/0.01122, allocations: 1.295 MB / 387.8 MB, free: 14.76 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.495073274243623]