Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001655/0.001655, allocations: 107.6 kB / 21.19 MB, free: 0.668 MB / 14.72 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.001901/0.001901, allocations: 207.5 kB / 24.48 MB, free: 3.977 MB / 14.72 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 1.493/1.493, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.229/0.229, allocations: 46.97 MB / 361.6 MB, free: 4.008 MB / 286.1 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 67.89 kB / 0.4973 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.301, allocations: 66.04 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003238/0.3042, allocations: 1.586 MB / 0.5634 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3054, allocations: 0.5154 MB / 0.5639 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.843e-05/0.3054, allocations: 3.938 kB / 0.5639 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.3056, allocations: 27.8 kB / 0.5639 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.3059, allocations: 75.67 kB / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.3062, allocations: 99.39 kB / 0.5641 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.3064, allocations: 67.83 kB / 0.5641 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3065, allocations: 8 kB / 0.5642 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.717e-05/0.3065, allocations: 23.86 kB / 0.5642 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.3066, allocations: 19.86 kB / 0.5642 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.3066, allocations: 0 / 0.5642 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-05/0.3067, allocations: 43.97 kB / 0.5642 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.22e-05/0.3068, allocations: 15.88 kB / 0.5643 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.3068, allocations: 15.86 kB / 0.5643 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.307, allocations: 82.05 kB / 0.5643 GB, free: 1.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.307, allocations: 8 kB / 0.5644 GB, free: 1.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.307, allocations: 0 / 0.5644 GB, free: 1.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.307, allocations: 0 / 0.5644 GB, free: 1.559 MB / 398.1 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.0004773/0.3075, allocations: 309.8 kB / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.3075, allocations: 12.03 kB / 0.5647 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.3075, allocations: 8.891 kB / 0.5647 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.3077, allocations: 126.4 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.3077, allocations: 4.312 kB / 0.5648 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.3077, allocations: 4.375 kB / 0.5648 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.3079, allocations: 53.8 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3079, allocations: 8 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3079, allocations: 4 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3079, allocations: 0 / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.17e-05/0.308, allocations: 19.98 kB / 0.5649 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.3083, allocations: 220.5 kB / 0.5651 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.3085, allocations: 42.5 kB / 0.5651 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.3086, allocations: 16.94 kB / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.3086, allocations: 4 kB / 0.5652 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.3086, allocations: 30.56 kB / 0.5652 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3086, allocations: 4 kB / 0.5652 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005406/0.3092, allocations: 141.4 kB / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.3092, allocations: 51.41 kB / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3094, allocations: 156.7 kB / 0.5655 GB, free: 232 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.3094, allocations: 25.7 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.3094, allocations: 92.14 kB / 0.5656 GB, free: 104 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.3095, allocations: 23.78 kB / 0.5657 GB, free: 80 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.3095, allocations: 21.72 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3097, allocations: 326.8 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.788e-05/0.3097, allocations: 15.98 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.3098, allocations: 19.92 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.3099, allocations: 52.77 kB / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3099, allocations: 0 / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000181/0.3101, allocations: 77.62 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.3101, allocations: 8 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3101, allocations: 0 / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3101, allocations: 4 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.3102, allocations: 15.92 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3102, allocations: 0 / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.022e-05/0.3102, allocations: 4 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3102, allocations: 0 / 0.5662 GB, free: 15.52 MB / 414.1 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 9.894e-05/0.3103, allocations: 129.7 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.3104, allocations: 11.95 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.3106, allocations: 90.3 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3106, allocations: 4.062 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3106, allocations: 4 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3106, allocations: 0 / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.311, allocations: 290.1 kB / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.311, allocations: 0 / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.3111, allocations: 12.27 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3111, allocations: 0 / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.3111, allocations: 8 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3111, allocations: 0 / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3111, allocations: 0 / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.3113, allocations: 183.4 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.3114, allocations: 15.89 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.3114, allocations: 0 / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.3114, allocations: 7.984 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.3115, allocations: 0 / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.3115, allocations: 7.938 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.747e-05/0.3116, allocations: 119.2 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3116, allocations: 0 / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003369/0.3119, allocations: 15.94 kB / 0.567 GB, free: 14.56 MB / 414.1 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.001588/0.3135, allocations: 440.5 kB / 0.5675 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.3137, allocations: 43.97 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3137, allocations: 0 / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.635e-05/0.3138, allocations: 27.92 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.3141, allocations: 19.98 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.3146, allocations: 203.9 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.504e-05/0.3147, allocations: 86.02 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.3147, allocations: 15.42 kB / 0.5678 GB, free: 13.87 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3147, allocations: 0 / 0.5678 GB, free: 13.87 MB / 414.1 MB Notification: Performance of Templates: time 0.003348/0.3181, allocations: 1.44 MB / 0.5692 GB, free: 12.43 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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: 7.78162232786417]