Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006946/0.0006946, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009812/0.001676, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009858/0.0009858, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002399, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8955/0.8955, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1383/1.034, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.1242/0.1242, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01877/0.143, allocations: 12.53 MB / 284.5 MB, free: 9.715 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 285.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.945e-06/9.307e-06, allocations: 6.25 kB / 285.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.001758/0.001767, allocations: 1.659 MB / 287.5 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005572/0.002325, allocations: 434.8 kB / 288 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.793e-05/0.002373, allocations: 0 / 288 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.002558, allocations: 75.66 kB / 288 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.002678, allocations: 59.73 kB / 288.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.002928, allocations: 114.5 kB / 288.2 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.003063, allocations: 75.72 kB / 288.3 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.598e-05/0.003139, allocations: 20.16 kB / 288.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.374e-05/0.003222, allocations: 51.84 kB / 288.4 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.003301, allocations: 47.88 kB / 288.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.003316, allocations: 4 kB / 288.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.454e-05/0.003401, allocations: 39.94 kB / 288.4 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.165e-05/0.003442, allocations: 19.92 kB / 288.5 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.003465, allocations: 11.94 kB / 288.5 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.003596, allocations: 75.69 kB / 288.5 MB, free: 5.691 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.003606, allocations: 0 / 288.5 MB, free: 5.691 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.003607, allocations: 0 / 288.5 MB, free: 5.691 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.003616, allocations: 0 / 288.5 MB, free: 5.691 MB / 282.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.0003525/0.003969, allocations: 312 kB / 288.8 MB, free: 5.363 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.003996, allocations: 15.97 kB / 288.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.004031, allocations: 16.86 kB / 288.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.004174, allocations: 141.5 kB / 289 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.004184, allocations: 4.375 kB / 289 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.004204, allocations: 384 / 289 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.65e-05/0.0043, allocations: 58.95 kB / 289.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.004314, allocations: 4.188 kB / 289.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.004323, allocations: 7.922 kB / 289.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.004328, allocations: 0 / 289.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.991e-05/0.004348, allocations: 8 kB / 289.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.004567, allocations: 179 kB / 289.3 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.022e-05/0.004617, allocations: 33.39 kB / 289.3 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.526e-05/0.004632, allocations: 12.84 kB / 289.3 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.004648, allocations: 0 / 289.3 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.00467, allocations: 38.5 kB / 289.4 MB, free: 4.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.004671, allocations: 0 / 289.4 MB, free: 4.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004079/0.005079, allocations: 149.5 kB / 289.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.005104, allocations: 55.41 kB / 289.6 MB, free: 4.562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.005196, allocations: 161.7 kB / 289.7 MB, free: 4.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.005208, allocations: 33.7 kB / 289.8 MB, free: 4.352 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.00524, allocations: 96.11 kB / 289.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.005261, allocations: 27.75 kB / 289.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.005294, allocations: 17.7 kB / 289.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.133e-05/0.005365, allocations: 326.8 kB / 290.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.005377, allocations: 7.984 kB / 290.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.005389, allocations: 8 kB / 290.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.44e-05/0.005423, allocations: 27.66 kB / 290.3 MB, free: 3.828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005425, allocations: 3.938 kB / 290.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.973e-05/0.005485, allocations: 61.61 kB / 290.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.005495, allocations: 4 kB / 290.3 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.005499, allocations: 4 kB / 290.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.005509, allocations: 3.938 kB / 290.3 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.839e-05/0.005567, allocations: 16 kB / 290.3 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.00557, allocations: 0 / 290.3 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.005589, allocations: 7.984 kB / 290.3 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-06/0.005594, allocations: 4 kB / 290.4 MB, free: 3.719 MB / 282.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 5.623e-05/0.00565, allocations: 116.6 kB / 290.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.005666, allocations: 8 kB / 290.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.917e-05/0.005755, allocations: 74.69 kB / 290.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.005757, allocations: 4 kB / 290.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.005758, allocations: 0 / 290.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.005761, allocations: 0 / 290.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.005978, allocations: 259.5 kB / 290.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.005979, allocations: 0 / 290.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.006017, allocations: 19.98 kB / 290.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-06/0.006025, allocations: 7.953 kB / 290.8 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.006027, allocations: 0 / 290.8 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.006033, allocations: 4 kB / 290.8 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.006034, allocations: 0 / 290.8 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.006038, allocations: 7.969 kB / 290.8 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.622e-05/0.006124, allocations: 168.3 kB / 291 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-06/0.006134, allocations: 0 / 291 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.218e-05/0.006166, allocations: 7.984 kB / 291 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.006195, allocations: 3.984 kB / 291 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.006205, allocations: 4 kB / 291 MB, free: 2.988 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.026e-05/0.006245, allocations: 42.91 kB / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006245, allocations: 4 kB / 291.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001485/0.006394, allocations: 19.94 kB / 291.1 MB, free: 2.922 MB / 282.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.001391/0.007785, allocations: 0.6227 MB / 291.7 MB, free: 2.609 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.057e-05/0.007866, allocations: 32.78 kB / 291.7 MB, free: 2.574 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.007872, allocations: 4 kB / 291.7 MB, free: 2.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.128e-05/0.007903, allocations: 24.84 kB / 291.8 MB, free: 2.543 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.00809, allocations: 94.78 kB / 291.9 MB, free: 2.445 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.008481, allocations: 222.8 kB / 292.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.815e-05/0.008519, allocations: 71.34 kB / 292.2 MB, free: 2.105 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.494e-05/0.008554, allocations: 16.7 kB / 292.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.008607, allocations: 59.36 kB / 292.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.008608, allocations: 4.094 kB / 292.2 MB, free: 2.023 MB / 282.7 MB Notification: Performance of Templates: time 0.002864/0.01147, allocations: 1.503 MB / 293.7 MB, free: 0.5391 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.612680866383016]