Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001113/0.001113, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001235/0.001235, allocations: 159.4 kB / 25.61 MB, free: 8.582 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.037/1.037, allocations: 177 MB / 205.9 MB, free: 4.461 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.1668/0.1668, allocations: 34.88 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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.067e-05, allocations: 2.312 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.00232/0.002351, allocations: 1.644 MB / 381.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007121/0.003063, allocations: 0.5291 MB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.003131, allocations: 8 kB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.003406, allocations: 75.7 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.003719, allocations: 111.5 kB / 382.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.003952, allocations: 91.62 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.004112, allocations: 83.77 kB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.004221, allocations: 15.97 kB / 382.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.892e-05/0.00429, allocations: 39.91 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.004395, allocations: 55.86 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.00441, allocations: 4 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-05/0.004488, allocations: 47.92 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.00454, allocations: 23.92 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.004564, allocations: 11.92 kB / 382.8 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.004715, allocations: 95.61 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.004717, allocations: 3.938 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.004719, allocations: 3.984 kB / 382.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.004723, allocations: 0 / 382.9 MB, free: 19.89 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003718/0.005095, allocations: 439.9 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.005134, allocations: 8.031 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.005171, allocations: 16.84 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.005299, allocations: 154.5 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.005308, allocations: 4.375 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.005327, allocations: 384 / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.005449, allocations: 62.94 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.00546, allocations: 192 / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.005472, allocations: 384 / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.005478, allocations: 384 / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.701e-05/0.005505, allocations: 15.92 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.005739, allocations: 268.3 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.888e-05/0.005808, allocations: 35.05 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.005826, allocations: 19.69 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.005847, allocations: 4 kB / 383.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.005866, allocations: 33.39 kB / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.005867, allocations: 0 / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005044/0.006371, allocations: 157.4 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.006406, allocations: 59.34 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.006534, allocations: 234.8 kB / 384.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.006542, allocations: 25.7 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.0066, allocations: 162.8 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.006629, allocations: 27.73 kB / 384.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.006661, allocations: 31.36 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.006727, allocations: 0.4962 MB / 385.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.006743, allocations: 4 kB / 385.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.515e-05/0.006758, allocations: 11.98 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.801e-05/0.006796, allocations: 27.69 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.006798, allocations: 0 / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.435e-05/0.006882, allocations: 81.5 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.006897, allocations: 4 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.006902, allocations: 0 / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.006913, allocations: 4 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.006984, allocations: 19.98 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.006988, allocations: 4 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.007006, allocations: 0 / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.007013, allocations: 4 kB / 385.2 MB, free: 17.3 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 (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 5.279e-05/0.007066, allocations: 156.6 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.007089, allocations: 20.27 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.007211, allocations: 91.36 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.007213, allocations: 0 / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.007216, allocations: 0 / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.007221, allocations: 7.984 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.007467, allocations: 345.6 kB / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.00747, allocations: 0 / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.007512, allocations: 16 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.007514, allocations: 0 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.00752, allocations: 7.984 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.007523, allocations: 0 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.007524, allocations: 0 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.692e-05/0.007611, allocations: 235.4 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.007622, allocations: 11.91 kB / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.007634, allocations: 8.031 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.257e-05/0.007667, allocations: 11.92 kB / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.007694, allocations: 0 / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.007699, allocations: 4 kB / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.572e-05/0.007745, allocations: 167.1 kB / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007745, allocations: 0 / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001672/0.007912, allocations: 19.94 kB / 386.3 MB, free: 16.14 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.0009527/0.008865, allocations: 437.8 kB / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.023e-05/0.008955, allocations: 47.59 kB / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008956, allocations: 0 / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.335e-05/0.00898, allocations: 27.61 kB / 386.8 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.009205, allocations: 28.22 kB / 386.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.009548, allocations: 219.8 kB / 387 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.397e-05/0.009582, allocations: 75.19 kB / 387.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.51e-05/0.009617, allocations: 12.8 kB / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.00967, allocations: 82.19 kB / 387.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of SimCode: time 1.332e-06/0.009672, allocations: 0 / 387.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of Templates: time 0.003537/0.01321, allocations: 1.53 MB / 388.7 MB, free: 13.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.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.496569139882922]