Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001784/0.001784, allocations: 82.28 kB / 20.68 MB, free: 1.023 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.002109/0.002109, allocations: 162 kB / 23.95 MB, free: 4.156 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.443/1.443, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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.1958/0.1958, allocations: 32.81 MB / 293.5 MB, free: 32 kB / 270.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.431e-05/4.614e-05, allocations: 9.312 kB / 440.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003341/0.003387, allocations: 1.603 MB / 441.7 MB, free: 6.512 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.005421, allocations: 1.251 MB / 443 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.682e-05/0.005478, allocations: 7.938 kB / 443 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.005714, allocations: 23.8 kB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.006034, allocations: 87.55 kB / 443.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.006343, allocations: 111.6 kB / 443.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.006499, allocations: 83.75 kB / 443.3 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.1e-05/0.00659, allocations: 15.98 kB / 443.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.69e-05/0.006667, allocations: 43.89 kB / 443.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.006781, allocations: 31.91 kB / 443.4 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.006802, allocations: 4 kB / 443.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.006966, allocations: 91.77 kB / 443.5 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.007019, allocations: 23.91 kB / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.007058, allocations: 19.88 kB / 443.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.007333, allocations: 159.5 kB / 443.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.007337, allocations: 0 / 443.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.007338, allocations: 0 / 443.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.007343, allocations: 0 / 443.7 MB, free: 4.562 MB / 366.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.0005143/0.007857, allocations: 345.5 kB / 444 MB, free: 4.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.007888, allocations: 8.031 kB / 444 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.007934, allocations: 16.84 kB / 444 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.008129, allocations: 133.7 kB / 444.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.008142, allocations: 8.375 kB / 444.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.008162, allocations: 384 / 444.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.008355, allocations: 113.6 kB / 444.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.008366, allocations: 192 / 444.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.008378, allocations: 4.125 kB / 444.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.008382, allocations: 0 / 444.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.008491, allocations: 35.97 kB / 444.3 MB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.008988, allocations: 248.5 kB / 444.6 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.009123, allocations: 58.53 kB / 444.6 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.095e-05/0.009194, allocations: 20.97 kB / 444.6 MB, free: 3.477 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.009218, allocations: 0 / 444.6 MB, free: 3.477 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.009251, allocations: 34.56 kB / 444.7 MB, free: 3.434 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.009252, allocations: 0 / 444.7 MB, free: 3.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000696/0.009948, allocations: 205.3 kB / 444.9 MB, free: 3.227 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.01002, allocations: 77.11 kB / 444.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.01019, allocations: 156.5 kB / 445.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.01021, allocations: 25.7 kB / 445.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.01027, allocations: 92.14 kB / 445.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.01031, allocations: 31.73 kB / 445.2 MB, free: 2.816 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.01036, allocations: 21.72 kB / 445.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.0105, allocations: 326.8 kB / 445.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.713e-05/0.01059, allocations: 27.98 kB / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.01071, allocations: 79.39 kB / 445.7 MB, free: 2.344 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.01089, allocations: 76.84 kB / 445.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.01089, allocations: 0 / 445.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002453/0.01114, allocations: 105.6 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.01115, allocations: 11.94 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.01116, allocations: 0 / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.01117, allocations: 0 / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.01128, allocations: 19.97 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.01129, allocations: 15.88 kB / 445.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.01133, allocations: 4 kB / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.01135, allocations: 7.984 kB / 445.9 MB, free: 2.098 MB / 366.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.0001061/0.01145, allocations: 122.4 kB / 446 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.01149, allocations: 7.953 kB / 446 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.01181, allocations: 126.4 kB / 446.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.01181, allocations: 0 / 446.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.01182, allocations: 384 / 446.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01182, allocations: 0 / 446.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/0.01234, allocations: 354.4 kB / 446.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.01235, allocations: 4 kB / 446.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.486e-05/0.01242, allocations: 15.98 kB / 446.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.01242, allocations: 0 / 446.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.01243, allocations: 0 / 446.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/0.01244, allocations: 7.984 kB / 446.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.01244, allocations: 0 / 446.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.01275, allocations: 211.3 kB / 446.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.01276, allocations: 7.953 kB / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.01278, allocations: 0 / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.23e-05/0.01287, allocations: 11.98 kB / 446.8 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.0129, allocations: 3.984 kB / 446.8 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.01291, allocations: 7.938 kB / 446.8 MB, free: 1.164 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.01302, allocations: 115.2 kB / 446.9 MB, free: 1.051 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01302, allocations: 0 / 446.9 MB, free: 1.051 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.01333, allocations: 43.88 kB / 446.9 MB, free: 1.008 MB / 366.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 (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.001936/0.01526, allocations: 0.5234 MB / 447.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.01553, allocations: 71.89 kB / 447.5 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01553, allocations: 0 / 447.5 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.912e-05/0.01563, allocations: 39.97 kB / 447.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.01595, allocations: 19.34 kB / 447.6 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/0.01647, allocations: 213.1 kB / 447.8 MB, free: 344 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.802e-05/0.01657, allocations: 91.81 kB / 447.9 MB, free: 228 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.589e-05/0.01665, allocations: 16.72 kB / 447.9 MB, free: 208 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.01669, allocations: 24.48 kB / 447.9 MB, free: 184 kB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.0167, allocations: 0 / 447.9 MB, free: 184 kB / 366.1 MB Notification: Performance of Templates: time 0.172/0.1887, allocations: 1.925 MB / 449.9 MB, free: 21.21 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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: 4.6681848131120205]