Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001413/0.001413, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001479/0.001479, allocations: 205.3 kB / 23.73 MB, free: 4.402 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2365/0.2365, allocations: 44.93 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [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.002416/0.002416, allocations: 75.89 kB / 0.4935 GB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3322, allocations: 65.47 MB / 0.5575 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003576/0.3358, allocations: 1.675 MB / 0.5591 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.337, allocations: 0.5506 MB / 0.5596 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.3371, allocations: 4 kB / 0.5597 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006262/0.3377, allocations: 463 kB / 0.5601 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004985/0.3382, allocations: 295.3 kB / 0.5604 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.3387, allocations: 175.1 kB / 0.5605 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.3389, allocations: 175.7 kB / 0.5607 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.339, allocations: 20.16 kB / 0.5607 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.3392, allocations: 115.8 kB / 0.5608 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.3395, allocations: 247.5 kB / 0.5611 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.3395, allocations: 4 kB / 0.5611 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.3396, allocations: 55.91 kB / 0.5611 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.3397, allocations: 87.69 kB / 0.5612 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.523e-05/0.3398, allocations: 67.25 kB / 0.5613 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.3402, allocations: 292.9 kB / 0.5616 GB, free: 3.277 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3402, allocations: 0 / 0.5616 GB, free: 3.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3402, allocations: 0 / 0.5616 GB, free: 3.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3402, allocations: 0 / 0.5616 GB, free: 3.277 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007974/0.341, allocations: 0.5912 MB / 0.5621 GB, free: 2.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.341, allocations: 8.031 kB / 0.5621 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.09e-05/0.3411, allocations: 48.61 kB / 0.5622 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.3415, allocations: 246.8 kB / 0.5624 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.3415, allocations: 8.375 kB / 0.5624 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.3415, allocations: 4.375 kB / 0.5624 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.3417, allocations: 65.8 kB / 0.5625 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3417, allocations: 4 kB / 0.5625 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.3417, allocations: 0 / 0.5625 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3417, allocations: 7.875 kB / 0.5625 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3418, allocations: 35.97 kB / 0.5625 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.3423, allocations: 340.3 kB / 0.5629 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.3424, allocations: 50.58 kB / 0.5629 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.3425, allocations: 16.86 kB / 0.5629 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.3425, allocations: 8 kB / 0.5629 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.3425, allocations: 34.64 kB / 0.563 GB, free: 1.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.051e-06/0.3425, allocations: 0 / 0.563 GB, free: 1.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009845/0.3435, allocations: 328.8 kB / 0.5633 GB, free: 1.387 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.3436, allocations: 51.41 kB / 0.5633 GB, free: 1.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009437/0.3445, allocations: 0.8652 MB / 0.5642 GB, free: 456 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.3445, allocations: 25.7 kB / 0.5642 GB, free: 424 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.3447, allocations: 223.9 kB / 0.5644 GB, free: 196 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.3448, allocations: 27.78 kB / 0.5644 GB, free: 168 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.3448, allocations: 21.66 kB / 0.5645 GB, free: 140 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.345, allocations: 362.8 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.529e-05/0.3451, allocations: 31.97 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-05/0.3452, allocations: 35.97 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.3454, allocations: 77.05 kB / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3454, allocations: 0 / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002811/0.3457, allocations: 145.3 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3457, allocations: 8 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3457, allocations: 0 / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.3457, allocations: 3.984 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.3458, allocations: 23.94 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3458, allocations: 7.938 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.3459, allocations: 7.984 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3459, allocations: 0 / 0.5651 GB, free: 15.43 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 (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.0002336/0.3461, allocations: 217.8 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.3462, allocations: 39.72 kB / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003843/0.3466, allocations: 169.4 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3466, allocations: 0 / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3466, allocations: 11.88 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3466, allocations: 0 / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007045/0.3473, allocations: 466.8 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3473, allocations: 3.938 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.432e-05/0.3474, allocations: 15.98 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.3474, allocations: 11.94 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.3474, allocations: 0 / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3474, allocations: 0 / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3474, allocations: 4.031 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.3478, allocations: 256 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.3478, allocations: 31.72 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.3478, allocations: 7.938 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-05/0.3479, allocations: 0 / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.348, allocations: 7.984 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.348, allocations: 8 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007198/0.3487, allocations: 0.6511 MB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3487, allocations: 0 / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.349, allocations: 35.94 kB / 0.567 GB, free: 13.44 MB / 414.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.00191/0.3509, allocations: 487.4 kB / 0.5675 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.3511, allocations: 87.86 kB / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3512, allocations: 0 / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.3513, allocations: 39.97 kB / 0.5676 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.3517, allocations: 28.14 kB / 0.5676 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.353, allocations: 0.8347 MB / 0.5684 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.3533, allocations: 224.1 kB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.822e-05/0.3533, allocations: 24.64 kB / 0.5687 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.3534, allocations: 19.44 kB / 0.5687 GB, free: 11.87 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3534, allocations: 0 / 0.5687 GB, free: 11.87 MB / 414.1 MB Notification: Performance of Templates: time 0.005909/0.3593, allocations: 1.945 MB / 0.5706 GB, free: 9.934 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.326952056959271]