Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2322/0.2322, allocations: 44.91 MB / 359.6 MB, free: 6.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002953/0.002953, allocations: 67.89 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3503, allocations: 65.46 MB / 0.5583 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003514/0.3538, allocations: 1.688 MB / 0.5599 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.355, allocations: 0.5504 MB / 0.5605 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.857e-05/0.355, allocations: 0 / 0.5605 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.3553, allocations: 99.69 kB / 0.5605 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.3557, allocations: 115.6 kB / 0.5607 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.356, allocations: 95.73 kB / 0.5608 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.3562, allocations: 99.73 kB / 0.5608 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3563, allocations: 18.66 kB / 0.5609 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.631e-05/0.3564, allocations: 51.78 kB / 0.5609 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.3566, allocations: 71.73 kB / 0.561 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.3566, allocations: 4 kB / 0.561 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3567, allocations: 51.97 kB / 0.561 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.3568, allocations: 23.86 kB / 0.5611 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.3568, allocations: 39.69 kB / 0.5611 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.3571, allocations: 131.1 kB / 0.5612 GB, free: 4.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3571, allocations: 0 / 0.5612 GB, free: 4.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3571, allocations: 0 / 0.5612 GB, free: 4.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3571, allocations: 0 / 0.5612 GB, free: 4.676 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005482/0.3576, allocations: 365.5 kB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3577, allocations: 15.97 kB / 0.5616 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.3577, allocations: 12.84 kB / 0.5616 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.3579, allocations: 150.8 kB / 0.5617 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3579, allocations: 384 / 0.5617 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.358, allocations: 8.375 kB / 0.5617 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.3582, allocations: 77.72 kB / 0.5618 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3582, allocations: 3.953 kB / 0.5618 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3582, allocations: 4 kB / 0.5618 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.3582, allocations: 4 kB / 0.5618 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.3583, allocations: 39.97 kB / 0.5619 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.3588, allocations: 295.8 kB / 0.5622 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.3589, allocations: 66.48 kB / 0.5622 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.359, allocations: 16.86 kB / 0.5622 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.359, allocations: 12 kB / 0.5622 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.359, allocations: 34.55 kB / 0.5623 GB, free: 3.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.359, allocations: 0 / 0.5623 GB, free: 3.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001117/0.3601, allocations: 313.2 kB / 0.5626 GB, free: 3.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3602, allocations: 51.41 kB / 0.5626 GB, free: 3.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.3605, allocations: 239.6 kB / 0.5629 GB, free: 2.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3605, allocations: 29.7 kB / 0.5629 GB, free: 2.805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.083e-05/0.3606, allocations: 116 kB / 0.563 GB, free: 2.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.3606, allocations: 39.64 kB / 0.563 GB, free: 2.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.3607, allocations: 25.72 kB / 0.5631 GB, free: 2.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3608, allocations: 330.8 kB / 0.5634 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.3609, allocations: 35.97 kB / 0.5634 GB, free: 2.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.655e-05/0.361, allocations: 39.86 kB / 0.5634 GB, free: 2.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.3612, allocations: 88.83 kB / 0.5635 GB, free: 2.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3612, allocations: 0 / 0.5635 GB, free: 2.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002844/0.3615, allocations: 145.5 kB / 0.5637 GB, free: 1.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3615, allocations: 12 kB / 0.5637 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3615, allocations: 0 / 0.5637 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3615, allocations: 3.938 kB / 0.5637 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3616, allocations: 27.92 kB / 0.5637 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3617, allocations: 0 / 0.5637 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.3617, allocations: 8 kB / 0.5637 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3617, allocations: 4 kB / 0.5637 GB, free: 1.922 MB / 398.1 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 (13): * Single equations (assignments): 13 * 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 0.0001254/0.3618, allocations: 133.8 kB / 0.5638 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.3619, allocations: 19.91 kB / 0.5639 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/0.3623, allocations: 167.7 kB / 0.564 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3623, allocations: 7.938 kB / 0.564 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3623, allocations: 0 / 0.564 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3623, allocations: 0 / 0.564 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006595/0.3629, allocations: 450.2 kB / 0.5645 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3629, allocations: 8.031 kB / 0.5645 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.884e-05/0.363, allocations: 27.92 kB / 0.5645 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.363, allocations: 0 / 0.5645 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.363, allocations: 8 kB / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.363, allocations: 0 / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.363, allocations: 0 / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.3634, allocations: 252.2 kB / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.3634, allocations: 11.91 kB / 0.5648 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.3634, allocations: 0 / 0.5648 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.3635, allocations: 11.98 kB / 0.5648 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.3635, allocations: 11.92 kB / 0.5648 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.3636, allocations: 4 kB / 0.5648 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001779/0.3637, allocations: 185.1 kB / 0.565 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3637, allocations: 4 kB / 0.565 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.364, allocations: 27.94 kB / 0.565 GB, free: 0.5312 MB / 398.1 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 (13): * Single equations (assignments): 13 * 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.00183/0.3658, allocations: 467.4 kB / 0.5654 GB, free: 264 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002732/0.3661, allocations: 91.89 kB / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3661, allocations: 3.938 kB / 0.5655 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.3662, allocations: 51.91 kB / 0.5656 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.3666, allocations: 33.7 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006939/0.3673, allocations: 338.5 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.3677, allocations: 0.7197 MB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.3678, allocations: 23.42 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3678, allocations: 0 / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of Templates: time 0.004696/0.3725, allocations: 2.065 MB / 0.5687 GB, free: 12.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.911729613784701]