Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.0009786/0.0009786, allocations: 81.08 kB / 20.65 MB, free: 3.836 MB / 18.57 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.001367/0.001367, allocations: 173 kB / 24.06 MB, free: 448 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.051/1.051, allocations: 158.6 MB / 185.9 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1542/0.1542, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.876e-05, allocations: 6.25 kB / 348.1 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002488/0.002516, allocations: 1.586 MB / 349.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005488/0.003065, allocations: 315.4 kB / 350 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.754e-05/0.003123, allocations: 0 / 350 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.00334, allocations: 19.86 kB / 350.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.003514, allocations: 39.72 kB / 350.1 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.00372, allocations: 75.78 kB / 350.2 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.003851, allocations: 59.77 kB / 350.2 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.003943, allocations: 4 kB / 350.2 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.09e-05/0.004004, allocations: 31.91 kB / 350.3 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.327e-05/0.004057, allocations: 19.91 kB / 350.3 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.004075, allocations: 4 kB / 350.3 MB, free: 7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.045e-05/0.004145, allocations: 24 kB / 350.3 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.004183, allocations: 15.92 kB / 350.3 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.004208, allocations: 4 kB / 350.3 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.004364, allocations: 71.67 kB / 350.4 MB, free: 6.887 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.004367, allocations: 4 kB / 350.4 MB, free: 6.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.004368, allocations: 0 / 350.4 MB, free: 6.883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.004372, allocations: 0 / 350.4 MB, free: 6.883 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003147/0.004686, allocations: 404.2 kB / 350.8 MB, free: 6.453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.004725, allocations: 8.031 kB / 350.8 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.004756, allocations: 8.891 kB / 350.8 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.791e-05/0.004854, allocations: 136.5 kB / 350.9 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.004862, allocations: 384 / 350.9 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.004879, allocations: 4.375 kB / 350.9 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.654e-05/0.004965, allocations: 54.89 kB / 351 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.004974, allocations: 192 / 351 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.004982, allocations: 8.125 kB / 351 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.004988, allocations: 0 / 351 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.157e-05/0.005009, allocations: 12 kB / 351 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.005203, allocations: 244.4 kB / 351.3 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.005331, allocations: 50.97 kB / 351.3 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.005345, allocations: 11.69 kB / 351.3 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.005368, allocations: 4.078 kB / 351.3 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.005384, allocations: 37.33 kB / 351.4 MB, free: 5.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.034e-06/0.005386, allocations: 3.984 kB / 351.4 MB, free: 5.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002732/0.005659, allocations: 85.56 kB / 351.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.579e-05/0.005675, allocations: 51.41 kB / 351.5 MB, free: 5.641 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.191e-05/0.005747, allocations: 189.9 kB / 351.7 MB, free: 5.438 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-06/0.005752, allocations: 25.7 kB / 351.7 MB, free: 5.406 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.005786, allocations: 138.9 kB / 351.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.00581, allocations: 27.78 kB / 351.9 MB, free: 5.238 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.005845, allocations: 19.38 kB / 351.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.77e-05/0.005892, allocations: 0.4923 MB / 352.4 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.005904, allocations: 0 / 352.4 MB, free: 4.707 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.196e-05/0.005916, allocations: 4 kB / 352.4 MB, free: 4.703 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.048e-05/0.005946, allocations: 23.62 kB / 352.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.005948, allocations: 4 kB / 352.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.11e-05/0.006019, allocations: 61.58 kB / 352.5 MB, free: 4.605 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.00603, allocations: 7.938 kB / 352.5 MB, free: 4.598 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.006035, allocations: 0 / 352.5 MB, free: 4.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.006047, allocations: 0 / 352.5 MB, free: 4.598 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.584e-05/0.006093, allocations: 11.98 kB / 352.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.006096, allocations: 4 kB / 352.5 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.006116, allocations: 4 kB / 352.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.00612, allocations: 0 / 352.5 MB, free: 4.578 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 (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.534e-05/0.006165, allocations: 160.5 kB / 352.7 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.006191, allocations: 15.89 kB / 352.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.353e-05/0.006284, allocations: 62.45 kB / 352.7 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.006286, allocations: 4 kB / 352.7 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.006288, allocations: 0 / 352.7 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006291, allocations: 4 kB / 352.7 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.006488, allocations: 298 kB / 353 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.00649, allocations: 0 / 353 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.006528, allocations: 8 kB / 353 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.00653, allocations: 0 / 353 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.006536, allocations: 4 kB / 353 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.006538, allocations: 4 kB / 353 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006539, allocations: 0 / 353 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.645e-05/0.006625, allocations: 203.8 kB / 353.2 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.006636, allocations: 11.94 kB / 353.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.006647, allocations: 0 / 353.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.422e-05/0.006691, allocations: 4 kB / 353.3 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.006719, allocations: 3.938 kB / 353.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.006723, allocations: 7.984 kB / 353.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.144e-05/0.006764, allocations: 146.8 kB / 353.4 MB, free: 3.594 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006765, allocations: 0 / 353.4 MB, free: 3.594 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002194/0.006984, allocations: 11.94 kB / 353.4 MB, free: 3.582 MB / 282.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.0008917/0.007876, allocations: 389 kB / 353.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.917e-05/0.007965, allocations: 27.61 kB / 353.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.007967, allocations: 4 kB / 353.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.119e-05/0.007988, allocations: 23.73 kB / 353.9 MB, free: 3.227 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.008258, allocations: 21.3 kB / 353.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.008572, allocations: 162 kB / 354 MB, free: 3.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.08e-05/0.008603, allocations: 63.34 kB / 354.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.008637, allocations: 4 kB / 354.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.008691, allocations: 78.19 kB / 354.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.008692, allocations: 4 kB / 354.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of Templates: time 0.003289/0.01198, allocations: 1.241 MB / 355.4 MB, free: 1.621 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.2559707150794566]