Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 77.36 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00138/0.002522, allocations: 445.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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006453/0.0006453, allocations: 148.9 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00116/0.001805, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9266/0.9266, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08899/1.016, allocations: 52.5 MB / 238.4 MB, free: 4.363 MB / 234.7 MB " [Timeout remaining time 179] 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.1332/0.1332, allocations: 32.8 MB / 272 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1435/0.2768, allocations: 12.55 MB / 284.5 MB, free: 11.87 MB / 282.7 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 1.656 kB / 285.8 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.422e-05, allocations: 4.406 kB / 285.9 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.00322/0.003244, allocations: 1.646 MB / 287.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006898/0.003934, allocations: 415.6 kB / 287.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.003982, allocations: 1.125 kB / 287.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.004128, allocations: 23.36 kB / 287.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.004251, allocations: 33.09 kB / 288 MB, free: 9.148 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.004498, allocations: 99.12 kB / 288.1 MB, free: 9.078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.004637, allocations: 59.58 kB / 288.1 MB, free: 9.043 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.976e-05/0.004717, allocations: 8.078 kB / 288.1 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.472e-05/0.004811, allocations: 36.33 kB / 288.2 MB, free: 9.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.004868, allocations: 14.23 kB / 288.2 MB, free: 9.012 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.004885, allocations: 2.188 kB / 288.2 MB, free: 9.012 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.09e-05/0.004965, allocations: 34.58 kB / 288.2 MB, free: 8.996 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.149e-05/0.005007, allocations: 10.72 kB / 288.2 MB, free: 8.992 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.005032, allocations: 9.438 kB / 288.2 MB, free: 8.988 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.005178, allocations: 59.03 kB / 288.3 MB, free: 8.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.38e-05/0.005192, allocations: 4 kB / 288.3 MB, free: 8.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005193, allocations: 1.094 kB / 288.3 MB, free: 8.953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.005202, allocations: 0 / 288.3 MB, free: 8.953 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.0003818/0.005584, allocations: 293 kB / 288.6 MB, free: 8.672 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.00562, allocations: 17.03 kB / 288.6 MB, free: 8.664 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.005652, allocations: 7.562 kB / 288.6 MB, free: 8.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.005797, allocations: 125.6 kB / 288.7 MB, free: 8.523 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.005804, allocations: 1.5 kB / 288.7 MB, free: 8.523 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.005825, allocations: 6.562 kB / 288.7 MB, free: 8.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.426e-05/0.005919, allocations: 53.44 kB / 288.8 MB, free: 8.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.005928, allocations: 5.531 kB / 288.8 MB, free: 8.461 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.005936, allocations: 4.125 kB / 288.8 MB, free: 8.457 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.005942, allocations: 5.297 kB / 288.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.005962, allocations: 3.844 kB / 288.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.006175, allocations: 164.5 kB / 289 MB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.006309, allocations: 28.38 kB / 289 MB, free: 8.262 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.006327, allocations: 8.359 kB / 289 MB, free: 8.254 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.006342, allocations: 0 / 289 MB, free: 8.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.006363, allocations: 32.78 kB / 289 MB, free: 8.215 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.006364, allocations: 0 / 289 MB, free: 8.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002848/0.006649, allocations: 90.16 kB / 289.1 MB, free: 8.148 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.006679, allocations: 52.53 kB / 289.2 MB, free: 8.086 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.006787, allocations: 146.7 kB / 289.3 MB, free: 7.949 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.006798, allocations: 26.77 kB / 289.3 MB, free: 7.918 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.006829, allocations: 87.52 kB / 289.4 MB, free: 7.832 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.006854, allocations: 27.83 kB / 289.5 MB, free: 7.809 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.006885, allocations: 12.16 kB / 289.5 MB, free: 7.793 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.006972, allocations: 321.2 kB / 289.8 MB, free: 7.473 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.006984, allocations: 2.5 kB / 289.8 MB, free: 7.473 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.107e-05/0.006995, allocations: 4.062 kB / 289.8 MB, free: 7.473 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.284e-05/0.007028, allocations: 27.16 kB / 289.8 MB, free: 7.453 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.00703, allocations: 0 / 289.8 MB, free: 7.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.748e-05/0.007097, allocations: 51.81 kB / 289.9 MB, free: 7.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.007109, allocations: 6 kB / 289.9 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.007113, allocations: 0 / 289.9 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.007124, allocations: 0 / 289.9 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.666e-05/0.007181, allocations: 18.11 kB / 289.9 MB, free: 7.402 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.007185, allocations: 3.984 kB / 289.9 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.445e-05/0.00721, allocations: 2 kB / 289.9 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.007215, allocations: 5.938 kB / 289.9 MB, free: 7.395 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 6.715e-05/0.007283, allocations: 116.7 kB / 290 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.007309, allocations: 7.938 kB / 290 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.821e-05/0.007397, allocations: 54.95 kB / 290.1 MB, free: 7.223 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.0074, allocations: 2.656 kB / 290.1 MB, free: 7.223 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.007401, allocations: 0 / 290.1 MB, free: 7.223 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.007404, allocations: 0 / 290.1 MB, free: 7.223 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.007621, allocations: 209.4 kB / 290.3 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.007624, allocations: 3.938 kB / 290.3 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.007663, allocations: 9.938 kB / 290.3 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.007676, allocations: 13.91 kB / 290.3 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.007681, allocations: 5.25 kB / 290.3 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.007685, allocations: 0 / 290.3 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.007687, allocations: 1.281 kB / 290.3 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.007688, allocations: 0 / 290.3 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.084e-05/0.007779, allocations: 143 kB / 290.5 MB, free: 6.855 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.00779, allocations: 1.344 kB / 290.5 MB, free: 6.855 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.704e-05/0.007848, allocations: 14.3 kB / 290.5 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.007873, allocations: 2.125 kB / 290.5 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.007877, allocations: 0 / 290.5 MB, free: 6.844 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.894e-05/0.007916, allocations: 32.91 kB / 290.5 MB, free: 6.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007916, allocations: 0 / 290.5 MB, free: 6.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.008133, allocations: 18.22 kB / 290.5 MB, free: 6.812 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.001516/0.009649, allocations: 0.5478 MB / 291.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.203e-05/0.009731, allocations: 29.03 kB / 291.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.009738, allocations: 1.281 kB / 291.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.527e-05/0.009773, allocations: 22.53 kB / 291.1 MB, free: 6.598 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.01001, allocations: 86.09 kB / 291.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.01045, allocations: 168.7 kB / 291.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.159e-05/0.01049, allocations: 64.78 kB / 291.4 MB, free: 6.281 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.337e-05/0.01052, allocations: 7.391 kB / 291.4 MB, free: 6.277 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.01058, allocations: 60.33 kB / 291.5 MB, free: 6.227 MB / 282.7 MB Notification: Performance of SimCode: time 5.72e-07/0.01058, allocations: 0 / 291.5 MB, free: 6.227 MB / 282.7 MB Notification: Performance of Templates: time 0.003087/0.01366, allocations: 1.22 MB / 292.7 MB, free: 5.602 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.7483765799552202]