Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001079/0.001079, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001541/0.00262, allocations: 445.8 kB / 10.44 MB, free: 256 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.0009241/0.0009241, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002248, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.9515/0.9515, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1532/1.105, allocations: 52.49 MB / 238.5 MB, free: 7.613 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.1295/0.1295, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02149/0.151, allocations: 12.53 MB / 284.5 MB, free: 9.707 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 285.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.422e-05, allocations: 6.25 kB / 285.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002251/0.002265, allocations: 1.648 MB / 287.5 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005229/0.007494, allocations: 1.185 MB / 288.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.007541, allocations: 0 / 288.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.007664, allocations: 23.78 kB / 288.7 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.007802, allocations: 39.73 kB / 288.8 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.008011, allocations: 95.56 kB / 288.9 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.008135, allocations: 59.8 kB / 288.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.38e-05/0.008219, allocations: 11.98 kB / 288.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.216e-05/0.008311, allocations: 43.91 kB / 289 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.008412, allocations: 19.91 kB / 289 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.008433, allocations: 4 kB / 289 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.008555, allocations: 55.84 kB / 289.1 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.008593, allocations: 8 kB / 289.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.008615, allocations: 7.938 kB / 289.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.00877, allocations: 75.73 kB / 289.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.008782, allocations: 0 / 289.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.008783, allocations: 0 / 289.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.008792, allocations: 4 kB / 289.1 MB, free: 5.086 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.000383/0.009175, allocations: 284.2 kB / 289.4 MB, free: 4.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.009206, allocations: 11.97 kB / 289.4 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.009239, allocations: 8.922 kB / 289.4 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.009383, allocations: 133.7 kB / 289.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.00939, allocations: 384 / 289.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.009412, allocations: 4.375 kB / 289.6 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.009529, allocations: 94.38 kB / 289.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.009539, allocations: 4.141 kB / 289.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.009548, allocations: 8.109 kB / 289.7 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.009554, allocations: 4 kB / 289.7 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.188e-05/0.009575, allocations: 11.92 kB / 289.7 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.009774, allocations: 167.2 kB / 289.9 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.009894, allocations: 26.56 kB / 289.9 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/0.009909, allocations: 8.859 kB / 289.9 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.009923, allocations: 0 / 289.9 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.009945, allocations: 34.56 kB / 289.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.009946, allocations: 0 / 289.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.003279/0.01322, allocations: 77.62 kB / 290 MB, free: 4.113 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.01325, allocations: 59.34 kB / 290.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.912e-05/0.01335, allocations: 144.2 kB / 290.2 MB, free: 3.887 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.01336, allocations: 25.7 kB / 290.2 MB, free: 3.855 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.01339, allocations: 88.12 kB / 290.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.01341, allocations: 15.89 kB / 290.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.01344, allocations: 17.72 kB / 290.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.026e-05/0.01352, allocations: 318.8 kB / 290.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.01353, allocations: 4 kB / 290.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-05/0.01356, allocations: 43.41 kB / 290.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.919e-05/0.01359, allocations: 20.86 kB / 290.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.01359, allocations: 0 / 290.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.385e-05/0.01365, allocations: 61.52 kB / 290.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.01367, allocations: 8 kB / 290.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.01367, allocations: 0 / 290.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.01368, allocations: 0 / 290.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.432e-05/0.01373, allocations: 8 kB / 290.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.01373, allocations: 0 / 290.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.01375, allocations: 7.984 kB / 290.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.01376, allocations: 256 / 290.8 MB, free: 3.234 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 5.595e-05/0.01381, allocations: 116.7 kB / 290.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.01384, allocations: 7.938 kB / 290.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.704e-05/0.01391, allocations: 61.8 kB / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.01391, allocations: 3.938 kB / 291 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01392, allocations: 0 / 291 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01392, allocations: 0 / 291 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.01413, allocations: 214.8 kB / 291.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01413, allocations: 3.938 kB / 291.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.01417, allocations: 12 kB / 291.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-06/0.01417, allocations: 0 / 291.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01417, allocations: 0 / 291.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.01418, allocations: 4 kB / 291.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01418, allocations: 3.984 kB / 291.2 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01418, allocations: 7.984 kB / 291.2 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.775e-05/0.01426, allocations: 143.4 kB / 291.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.01427, allocations: 4 kB / 291.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.765e-05/0.01432, allocations: 4 kB / 291.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.01434, allocations: 3.984 kB / 291.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.01435, allocations: 0 / 291.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.082e-05/0.01439, allocations: 30.16 kB / 291.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01439, allocations: 0 / 291.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001996/0.01459, allocations: 23.94 kB / 291.4 MB, free: 2.547 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.004489/0.01908, allocations: 0.6184 MB / 292.1 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.907e-05/0.01916, allocations: 20.8 kB / 292.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.01916, allocations: 4 kB / 292.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.835e-05/0.01919, allocations: 20.84 kB / 292.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.01941, allocations: 91.28 kB / 292.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.0198, allocations: 165.9 kB / 292.4 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.01984, allocations: 59.34 kB / 292.4 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.759e-05/0.01988, allocations: 11.98 kB / 292.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.996e-05/0.01995, allocations: 63.36 kB / 292.5 MB, free: 1.734 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01995, allocations: 0 / 292.5 MB, free: 1.734 MB / 282.7 MB Notification: Performance of Templates: time 0.006487/0.02644, allocations: 1.545 MB / 294 MB, free: 212 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.646989948116243]