Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001897/0.001897, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002591/0.002591, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.574/1.574, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.2144/0.2144, allocations: 44.92 MB / 359.6 MB, free: 6.285 MB / 286.1 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.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 67.91 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2878, allocations: 65.47 MB / 0.5583 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003039/0.2909, allocations: 1.642 MB / 0.5599 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.2919, allocations: 0.5621 MB / 0.5604 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.292, allocations: 7.938 kB / 0.5604 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.2923, allocations: 91.69 kB / 0.5605 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.2926, allocations: 115.6 kB / 0.5606 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.2929, allocations: 119.7 kB / 0.5607 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.2931, allocations: 83.75 kB / 0.5608 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.968e-05/0.2932, allocations: 18.66 kB / 0.5608 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.274e-05/0.2932, allocations: 35.84 kB / 0.5609 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.2933, allocations: 59.8 kB / 0.5609 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.2933, allocations: 4 kB / 0.5609 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-05/0.2934, allocations: 43.98 kB / 0.561 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/0.2935, allocations: 31.84 kB / 0.561 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.2935, allocations: 31.75 kB / 0.561 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.2937, allocations: 111.2 kB / 0.5611 GB, free: 4.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2937, allocations: 4 kB / 0.5611 GB, free: 4.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2937, allocations: 0 / 0.5611 GB, free: 4.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.2937, allocations: 4 kB / 0.5611 GB, free: 4.766 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004797/0.2942, allocations: 351.7 kB / 0.5615 GB, free: 4.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.2943, allocations: 12.03 kB / 0.5615 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.2943, allocations: 12.84 kB / 0.5615 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.2945, allocations: 146.9 kB / 0.5616 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/0.2945, allocations: 4.375 kB / 0.5616 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.2945, allocations: 8.328 kB / 0.5617 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.2947, allocations: 61.8 kB / 0.5617 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2947, allocations: 0 / 0.5617 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2947, allocations: 0 / 0.5617 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2947, allocations: 0 / 0.5617 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.2948, allocations: 35.91 kB / 0.5617 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.2952, allocations: 267.9 kB / 0.562 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.2953, allocations: 54.5 kB / 0.5621 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.2954, allocations: 24.88 kB / 0.5621 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.2954, allocations: 0 / 0.5621 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.2954, allocations: 34.56 kB / 0.5621 GB, free: 3.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.2954, allocations: 0 / 0.5621 GB, free: 3.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008912/0.2963, allocations: 249.5 kB / 0.5623 GB, free: 3.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.2963, allocations: 51.41 kB / 0.5624 GB, free: 3.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.2966, allocations: 230.7 kB / 0.5626 GB, free: 3.098 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.2966, allocations: 25.7 kB / 0.5626 GB, free: 3.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.2967, allocations: 108.1 kB / 0.5627 GB, free: 2.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.2967, allocations: 31.75 kB / 0.5628 GB, free: 2.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.2968, allocations: 21.7 kB / 0.5628 GB, free: 2.898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2969, allocations: 326.8 kB / 0.5631 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-05/0.297, allocations: 27.98 kB / 0.5631 GB, free: 2.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-05/0.2971, allocations: 31.97 kB / 0.5632 GB, free: 2.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.2972, allocations: 84.91 kB / 0.5632 GB, free: 2.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2972, allocations: 4 kB / 0.5632 GB, free: 2.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002419/0.2975, allocations: 117.6 kB / 0.5634 GB, free: 2.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2975, allocations: 4 kB / 0.5634 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2975, allocations: 0 / 0.5634 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2975, allocations: 7.984 kB / 0.5634 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.999e-05/0.2976, allocations: 15.98 kB / 0.5634 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2976, allocations: 0 / 0.5634 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.2977, allocations: 7.938 kB / 0.5634 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.2977, allocations: 4 kB / 0.5634 GB, free: 2.262 MB / 398.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 (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 0.0001145/0.2978, allocations: 137.8 kB / 0.5635 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.2978, allocations: 7.953 kB / 0.5635 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.2981, allocations: 131 kB / 0.5637 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2981, allocations: 0 / 0.5637 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2981, allocations: 4 kB / 0.5637 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2981, allocations: 3.938 kB / 0.5637 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/0.2987, allocations: 402.2 kB / 0.5641 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2987, allocations: 0 / 0.5641 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.676e-05/0.2988, allocations: 27.92 kB / 0.5641 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.2988, allocations: 3.938 kB / 0.5641 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.2988, allocations: 0 / 0.5641 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2988, allocations: 0 / 0.5641 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2988, allocations: 4 kB / 0.5641 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.2991, allocations: 216.3 kB / 0.5643 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.2991, allocations: 15.89 kB / 0.5643 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.2991, allocations: 0 / 0.5643 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.863e-05/0.2992, allocations: 7.984 kB / 0.5643 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.2992, allocations: 4 kB / 0.5643 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.2992, allocations: 0 / 0.5643 GB, free: 1.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.2994, allocations: 192.2 kB / 0.5645 GB, free: 1.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2994, allocations: 0 / 0.5645 GB, free: 1.035 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.2997, allocations: 23.95 kB / 0.5645 GB, free: 1.012 MB / 398.1 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.001717/0.3014, allocations: 470.9 kB / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.3016, allocations: 71.94 kB / 0.565 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3016, allocations: 0 / 0.565 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.521e-05/0.3017, allocations: 35.92 kB / 0.5651 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.3021, allocations: 29.36 kB / 0.5651 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/0.3026, allocations: 312.6 kB / 0.5654 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.303, allocations: 0.7158 MB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.303, allocations: 19.38 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.303, allocations: 0 / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Templates: time 0.003839/0.3069, allocations: 1.848 MB / 0.5679 GB, free: 13.65 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.888122944161296]