Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.0008556/0.0008556, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002141, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007164/0.0007164, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009612/0.001678, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9335/0.9335, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0941/1.028, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2627/0.2627, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02446/0.2872, allocations: 13.1 MB / 291.5 MB, free: 7.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.297e-05, allocations: 6.906 kB / 292.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003133/0.003156, allocations: 1.722 MB / 294.6 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.004225, allocations: 0.5686 MB / 295.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.35e-05/0.004288, allocations: 0 / 295.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.00453, allocations: 91.62 kB / 295.2 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.004796, allocations: 115.4 kB / 295.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.005092, allocations: 107.5 kB / 295.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.005282, allocations: 95.77 kB / 295.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.005382, allocations: 23.95 kB / 295.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.005522, allocations: 71.88 kB / 295.6 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.005625, allocations: 51.86 kB / 295.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.005644, allocations: 8 kB / 295.7 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.005752, allocations: 47.86 kB / 295.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.005804, allocations: 27.88 kB / 295.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.005836, allocations: 15.94 kB / 295.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.006025, allocations: 95.55 kB / 295.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.006037, allocations: 0 / 295.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.006038, allocations: 4 kB / 295.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.006047, allocations: 0 / 295.9 MB, free: 3.129 MB / 282.7 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.0004175/0.006465, allocations: 357 kB / 296.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.006493, allocations: 12.62 kB / 296.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.006522, allocations: 12.88 kB / 296.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.006643, allocations: 150 kB / 296.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.006652, allocations: 8.375 kB / 296.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.006672, allocations: 8.312 kB / 296.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.981e-05/0.006762, allocations: 68.34 kB / 296.5 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.006769, allocations: 192 / 296.5 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.006777, allocations: 12.12 kB / 296.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.006781, allocations: 0 / 296.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.562e-05/0.006806, allocations: 15.98 kB / 296.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.007028, allocations: 195 kB / 296.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.633e-05/0.007085, allocations: 46.55 kB / 296.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.007098, allocations: 8.859 kB / 296.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.007116, allocations: 7.938 kB / 296.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.007133, allocations: 30.56 kB / 296.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.007134, allocations: 0 / 296.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004542/0.007588, allocations: 226.5 kB / 297 MB, free: 1.898 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.007613, allocations: 51.41 kB / 297.1 MB, free: 1.836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.00772, allocations: 185.1 kB / 297.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.00773, allocations: 29.7 kB / 297.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.00776, allocations: 100 kB / 297.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.00779, allocations: 47.58 kB / 297.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.007819, allocations: 25.7 kB / 297.5 MB, free: 1.422 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.007893, allocations: 330.7 kB / 297.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.007906, allocations: 8 kB / 297.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.605e-05/0.007922, allocations: 22.23 kB / 297.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.291e-05/0.007965, allocations: 48.81 kB / 297.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.007966, allocations: 3.938 kB / 297.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.387e-05/0.00803, allocations: 65.67 kB / 297.9 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.00804, allocations: 8 kB / 297.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.008043, allocations: 0 / 297.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.008052, allocations: 0 / 297.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.167e-05/0.008124, allocations: 27.98 kB / 298 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.008126, allocations: 0 / 298 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.008145, allocations: 7.984 kB / 298 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.008151, allocations: 8 kB / 298 MB, free: 0.8867 MB / 282.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 (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 5.606e-05/0.008207, allocations: 120.5 kB / 298.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.008228, allocations: 15.97 kB / 298.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.008344, allocations: 93.12 kB / 298.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.008347, allocations: 3.984 kB / 298.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.008348, allocations: 0 / 298.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.008351, allocations: 0 / 298.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.00859, allocations: 301.5 kB / 298.5 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.008592, allocations: 0 / 298.5 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.057e-05/0.008642, allocations: 28.02 kB / 298.5 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.008654, allocations: 15.91 kB / 298.5 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.008656, allocations: 0 / 298.5 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.008662, allocations: 4 kB / 298.5 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.008664, allocations: 3.938 kB / 298.5 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.008666, allocations: 4 kB / 298.6 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.661e-05/0.008752, allocations: 180.3 kB / 298.7 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.008763, allocations: 4 kB / 298.7 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.489e-05/0.008798, allocations: 11.98 kB / 298.7 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.008822, allocations: 11.92 kB / 298.8 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.008826, allocations: 8 kB / 298.8 MB, free: 36 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.699e-05/0.008883, allocations: 62.5 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008883, allocations: 0 / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000137/0.00902, allocations: 20 kB / 298.8 MB, free: 15.95 MB / 298.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 (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.001226/0.01025, allocations: 0.6305 MB / 299.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.743e-05/0.01033, allocations: 56.69 kB / 299.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.01034, allocations: 4 kB / 299.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.886e-05/0.01038, allocations: 40.78 kB / 299.6 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.01056, allocations: 83.33 kB / 299.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.01098, allocations: 270.9 kB / 299.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.716e-05/0.01102, allocations: 79.36 kB / 300 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.821e-05/0.01106, allocations: 16.48 kB / 300 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.01111, allocations: 63.36 kB / 300.1 MB, free: 15 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01111, allocations: 0 / 300.1 MB, free: 15 MB / 298.7 MB Notification: Performance of Templates: time 0.003063/0.01417, allocations: 1.714 MB / 301.8 MB, free: 13.31 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9152845526114106]