Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.0007962/0.0007962, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003228/0.003228, allocations: 160.5 kB / 24.7 MB, free: 9.418 MB / 18.57 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.8917/0.8917, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.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.2955/0.2955, allocations: 32.79 MB / 294.2 MB, free: 1.199 MB / 266.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.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 440.9 MB, free: 3.719 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.798e-05, allocations: 2.281 kB / 440.9 MB, free: 3.715 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002131/0.002159, allocations: 1.612 MB / 442.5 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006969/0.002856, allocations: 0.5258 MB / 443 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.002916, allocations: 0 / 443 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.003193, allocations: 131.5 kB / 443.1 MB, free: 1.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.003473, allocations: 135.4 kB / 443.3 MB, free: 1.297 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.003699, allocations: 90.06 kB / 443.4 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.003858, allocations: 107.7 kB / 443.5 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.271e-05/0.003951, allocations: 4 kB / 443.5 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.993e-05/0.004021, allocations: 63.86 kB / 443.5 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.004129, allocations: 79.83 kB / 443.6 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.004144, allocations: 4 kB / 443.6 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.45e-05/0.004219, allocations: 43.92 kB / 443.7 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.004277, allocations: 39.84 kB / 443.7 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.004304, allocations: 15.94 kB / 443.7 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.004464, allocations: 115.6 kB / 443.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004466, allocations: 0 / 443.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004467, allocations: 3.938 kB / 443.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.004471, allocations: 0 / 443.8 MB, free: 0.7422 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000389/0.00486, allocations: 365.4 kB / 444.2 MB, free: 364 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.004891, allocations: 12.03 kB / 444.2 MB, free: 352 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.004926, allocations: 16.83 kB / 444.2 MB, free: 336 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.005084, allocations: 149.1 kB / 444.4 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.005093, allocations: 4.375 kB / 444.4 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.005113, allocations: 8.328 kB / 444.4 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.005221, allocations: 58.22 kB / 444.4 MB, free: 84 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.005231, allocations: 192 / 444.4 MB, free: 84 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.00524, allocations: 12.06 kB / 444.4 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.005244, allocations: 0 / 444.4 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.762e-05/0.005302, allocations: 31.91 kB / 444.5 MB, free: 40 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1869/0.1922, allocations: 231.6 kB / 444.7 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1923, allocations: 45.27 kB / 444.7 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.1923, allocations: 22.28 kB / 444.8 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.1924, allocations: 0 / 444.8 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.1924, allocations: 31.31 kB / 444.8 MB, free: 46.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1924, allocations: 2.906 kB / 444.8 MB, free: 46.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006421/0.193, allocations: 240.9 kB / 445 MB, free: 46.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.193, allocations: 54.19 kB / 445.1 MB, free: 46.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.1932, allocations: 274 kB / 445.3 MB, free: 46.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.525e-06/0.1932, allocations: 25.7 kB / 445.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.1933, allocations: 121 kB / 445.5 MB, free: 46.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.1933, allocations: 28.66 kB / 445.5 MB, free: 46.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.1933, allocations: 21.16 kB / 445.5 MB, free: 46.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.967e-05/0.1934, allocations: 329 kB / 445.9 MB, free: 45.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/0.1934, allocations: 23.92 kB / 445.9 MB, free: 45.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-05/0.1934, allocations: 27.14 kB / 445.9 MB, free: 45.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.992e-05/0.1935, allocations: 63.12 kB / 446 MB, free: 45.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1935, allocations: 0 / 446 MB, free: 45.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001144/0.1936, allocations: 107.6 kB / 446.1 MB, free: 45.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1937, allocations: 9.25 kB / 446.1 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1937, allocations: 3.406 kB / 446.1 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1937, allocations: 0 / 446.1 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.818e-05/0.1938, allocations: 20.89 kB / 446.1 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1938, allocations: 0 / 446.1 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.1938, allocations: 5.812 kB / 446.1 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1938, allocations: 1.5 kB / 446.1 MB, free: 45.72 MB / 410.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 (8): * Single equations (assignments): 8 * 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 8.507e-05/0.1939, allocations: 139.5 kB / 446.3 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.1939, allocations: 21.61 kB / 446.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.1941, allocations: 135 kB / 446.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1941, allocations: 2.844 kB / 446.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1941, allocations: 0 / 446.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1941, allocations: 0 / 446.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.1944, allocations: 355.1 kB / 446.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1944, allocations: 3.469 kB / 446.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.1945, allocations: 19.53 kB / 446.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.1945, allocations: 0 / 446.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.1945, allocations: 2.625 kB / 446.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1945, allocations: 0 / 446.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1945, allocations: 0 / 446.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.1946, allocations: 213.4 kB / 447 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.1946, allocations: 17.28 kB / 447 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1946, allocations: 4 kB / 447 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.626e-05/0.1947, allocations: 8.562 kB / 447 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.1947, allocations: 7.109 kB / 447 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.1947, allocations: 2.812 kB / 447 MB, free: 45.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.755e-05/0.1948, allocations: 211.4 kB / 447.2 MB, free: 44.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1948, allocations: 0 / 447.2 MB, free: 44.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.195, allocations: 22.12 kB / 447.3 MB, free: 44.99 MB / 410.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 (8): * Single equations (assignments): 8 * 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.0007922/0.1958, allocations: 495.2 kB / 447.7 MB, free: 44.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.1959, allocations: 72.45 kB / 447.8 MB, free: 44.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1959, allocations: 0 / 447.8 MB, free: 44.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.267e-05/0.196, allocations: 38.16 kB / 447.8 MB, free: 44.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.1963, allocations: 17.3 kB / 447.9 MB, free: 44.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.1967, allocations: 330.5 kB / 448.2 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.403e-05/0.1968, allocations: 109.6 kB / 448.3 MB, free: 44.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.1968, allocations: 18.06 kB / 448.3 MB, free: 44.52 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1968, allocations: 0 / 448.3 MB, free: 44.52 MB / 410.7 MB Notification: Performance of Templates: time 0.00258/0.1994, allocations: 1.964 MB / 450.3 MB, free: 44.29 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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: 5.041313913650811]