Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001534/0.001534, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001193/0.001193, allocations: 165.1 kB / 24.91 MB, free: 8.715 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.098/1.098, allocations: 177 MB / 205.2 MB, free: 5.062 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.2605/0.2605, allocations: 34.85 MB / 296.6 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 326 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.487e-05, allocations: 10.5 kB / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002398/0.002423, allocations: 1.749 MB / 327.7 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008035/0.003227, allocations: 0.5757 MB / 328.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.661e-05/0.003283, allocations: 0 / 328.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004697/0.003753, allocations: 467 kB / 328.8 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.0041, allocations: 291.1 kB / 329.1 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.004388, allocations: 167.5 kB / 329.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.00459, allocations: 184.4 kB / 329.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.004692, allocations: 24.19 kB / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.004815, allocations: 123.8 kB / 329.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.005005, allocations: 195.6 kB / 329.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.005022, allocations: 4 kB / 329.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-05/0.005115, allocations: 59.86 kB / 329.8 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.736e-05/0.005212, allocations: 87.69 kB / 329.9 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.005255, allocations: 39.69 kB / 329.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.00547, allocations: 211.1 kB / 330.1 MB, free: 2.965 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.005472, allocations: 0 / 330.1 MB, free: 2.965 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.005474, allocations: 0 / 330.1 MB, free: 2.965 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.005478, allocations: 0 / 330.1 MB, free: 2.965 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004462/0.005925, allocations: 0.5579 MB / 330.7 MB, free: 2.379 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.005956, allocations: 8.031 kB / 330.7 MB, free: 2.371 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.005993, allocations: 28.86 kB / 330.7 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.006188, allocations: 250 kB / 331 MB, free: 2.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.006198, allocations: 384 / 331 MB, free: 2.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.00622, allocations: 12.36 kB / 331 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.006335, allocations: 54.95 kB / 331 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.006347, allocations: 192 / 331 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.006357, allocations: 4.375 kB / 331 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.006365, allocations: 4.359 kB / 331 MB, free: 1.988 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.475e-05/0.00639, allocations: 15.88 kB / 331.1 MB, free: 1.973 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.006684, allocations: 203.1 kB / 331.3 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.758e-05/0.006742, allocations: 45.41 kB / 331.3 MB, free: 1.703 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.006779, allocations: 12.86 kB / 331.3 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.006799, allocations: 0 / 331.3 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.006824, allocations: 30.56 kB / 331.3 MB, free: 1.648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.006825, allocations: 0 / 331.3 MB, free: 1.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005318/0.007357, allocations: 169.4 kB / 331.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.007396, allocations: 51.41 kB / 331.6 MB, free: 1.414 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.007761, allocations: 0.5283 MB / 332.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.007777, allocations: 33.7 kB / 332.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.00785, allocations: 141.3 kB / 332.3 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.007879, allocations: 27.78 kB / 332.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.007912, allocations: 25.64 kB / 332.3 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.008023, allocations: 358.7 kB / 332.7 MB, free: 276 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.008037, allocations: 4 kB / 332.7 MB, free: 272 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.79e-05/0.008055, allocations: 8 kB / 332.7 MB, free: 264 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.146e-05/0.008096, allocations: 27.67 kB / 332.7 MB, free: 232 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.008098, allocations: 0 / 332.7 MB, free: 232 kB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.978e-05/0.008187, allocations: 81.58 kB / 332.8 MB, free: 144 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.008202, allocations: 4 kB / 332.8 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.008207, allocations: 4.312 kB / 332.8 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.008223, allocations: 0 / 332.8 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.521e-05/0.008298, allocations: 23.92 kB / 332.8 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.008302, allocations: 3.938 kB / 332.8 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.008329, allocations: 7.938 kB / 332.8 MB, free: 100 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.008341, allocations: 11.98 kB / 332.8 MB, free: 88 kB / 298.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 9.596e-05/0.008437, allocations: 112.7 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.008467, allocations: 27.91 kB / 333 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.008626, allocations: 101.5 kB / 333.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008628, allocations: 0 / 333.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.00863, allocations: 0 / 333.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.008635, allocations: 7.938 kB / 333.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.008921, allocations: 307.3 kB / 333.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.008923, allocations: 0 / 333.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.008964, allocations: 12 kB / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.008966, allocations: 0 / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.008977, allocations: 11.98 kB / 333.4 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.008978, allocations: 0 / 333.4 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.00898, allocations: 4.031 kB / 333.4 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.009087, allocations: 180.2 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.009112, allocations: 31.72 kB / 333.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.009128, allocations: 4 kB / 333.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.009169, allocations: 7.984 kB / 333.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.009202, allocations: 4 kB / 333.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.009206, allocations: 0 / 333.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000192/0.009398, allocations: 287.2 kB / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.009399, allocations: 0 / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001551/0.009554, allocations: 28 kB / 333.9 MB, free: 14.92 MB / 314.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.001653/0.01121, allocations: 0.5661 MB / 334.5 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.01134, allocations: 48.69 kB / 334.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.954e-06/0.01134, allocations: 8 kB / 334.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.717e-05/0.01137, allocations: 28.78 kB / 334.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.01162, allocations: 29.89 kB / 334.6 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.0123, allocations: 0.606 MB / 335.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.376e-05/0.0124, allocations: 123.2 kB / 335.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.859e-05/0.01244, allocations: 4.734 kB / 335.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.0125, allocations: 63.36 kB / 335.4 MB, free: 13.67 MB / 314.7 MB Notification: Performance of SimCode: time 1.462e-06/0.0125, allocations: 4 kB / 335.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of Templates: time 0.00428/0.01678, allocations: 1.743 MB / 337.1 MB, free: 11.93 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.9117555348202586]