Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.0008199/0.0008199, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001302/0.002122, 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.0007215/0.0007215, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001726/0.002447, 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.9237/0.9237, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1524/1.076, allocations: 52.48 MB / 238.5 MB, free: 7.621 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.1461/0.1461, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02883/0.175, allocations: 12.53 MB / 284.5 MB, free: 9.711 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 285.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.908e-05, allocations: 13.34 kB / 285.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.001904/0.001923, allocations: 1.664 MB / 287.5 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004913/0.002415, allocations: 430.9 kB / 288 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.31e-05/0.002458, allocations: 0 / 288 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.002659, allocations: 151.5 kB / 288.1 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.002784, allocations: 95.62 kB / 288.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.003109, allocations: 111.6 kB / 288.3 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.003287, allocations: 91.75 kB / 288.4 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.201e-05/0.003369, allocations: 8.172 kB / 288.4 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.0035, allocations: 79.81 kB / 288.5 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.003617, allocations: 63.86 kB / 288.6 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.003635, allocations: 4 kB / 288.6 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-05/0.003731, allocations: 43.92 kB / 288.6 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.003783, allocations: 19.92 kB / 288.6 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.003814, allocations: 15.94 kB / 288.6 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.003994, allocations: 99.55 kB / 288.7 MB, free: 5.496 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.004006, allocations: 0 / 288.7 MB, free: 5.496 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.004007, allocations: 0 / 288.7 MB, free: 5.496 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.004017, allocations: 0 / 288.7 MB, free: 5.496 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.0004276/0.004445, allocations: 347.7 kB / 289.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.004475, allocations: 8.031 kB / 289.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.004514, allocations: 16.92 kB / 289.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.004678, allocations: 141.6 kB / 289.2 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.004687, allocations: 384 / 289.2 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.004711, allocations: 12.31 kB / 289.3 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.004831, allocations: 50.95 kB / 289.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.004843, allocations: 4.188 kB / 289.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.004853, allocations: 7.938 kB / 289.3 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.00486, allocations: 4 kB / 289.3 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.96e-05/0.00489, allocations: 7.984 kB / 289.3 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.00517, allocations: 187 kB / 289.5 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.851e-05/0.005239, allocations: 29.34 kB / 289.5 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.005259, allocations: 12.94 kB / 289.5 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.005279, allocations: 3.984 kB / 289.6 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.005308, allocations: 38.5 kB / 289.6 MB, free: 4.547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.005309, allocations: 0 / 289.6 MB, free: 4.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000611/0.00592, allocations: 141.5 kB / 289.7 MB, free: 4.402 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.005952, allocations: 55.41 kB / 289.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.006124, allocations: 205.3 kB / 290 MB, free: 4.121 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.006138, allocations: 29.7 kB / 290 MB, free: 4.086 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.006183, allocations: 104 kB / 290.1 MB, free: 3.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.006216, allocations: 31.73 kB / 290.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.006253, allocations: 21.7 kB / 290.2 MB, free: 3.922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.006348, allocations: 326.8 kB / 290.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.351e-05/0.006372, allocations: 8 kB / 290.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.803e-05/0.00639, allocations: 11.97 kB / 290.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.942e-05/0.006439, allocations: 27.67 kB / 290.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.006442, allocations: 3.938 kB / 290.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.225e-05/0.006534, allocations: 65.61 kB / 290.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.006549, allocations: 4 kB / 290.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.006553, allocations: 0 / 290.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.006566, allocations: 0 / 290.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.006716, allocations: 19.94 kB / 290.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.006721, allocations: 0 / 290.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.606e-05/0.006757, allocations: 3.984 kB / 290.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.006764, allocations: 4 kB / 290.6 MB, free: 3.438 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 7.116e-05/0.006835, allocations: 116.6 kB / 290.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.006861, allocations: 11.98 kB / 290.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.006994, allocations: 75.44 kB / 290.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.006997, allocations: 3.938 kB / 290.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.006998, allocations: 4 kB / 290.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.007001, allocations: 0 / 290.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.007256, allocations: 263.5 kB / 291.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.007258, allocations: 4 kB / 291.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.0073, allocations: 15.98 kB / 291.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.00731, allocations: 11.91 kB / 291.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.007313, allocations: 0 / 291.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.00732, allocations: 8 kB / 291.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.007322, allocations: 4.031 kB / 291.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.007323, allocations: 0 / 291.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.909e-05/0.007413, allocations: 164.3 kB / 291.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.007424, allocations: 4 kB / 291.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.305e-05/0.007457, allocations: 0 / 291.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.007484, allocations: 7.984 kB / 291.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.007489, allocations: 4 kB / 291.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.62e-05/0.007555, allocations: 71.48 kB / 291.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007555, allocations: 0 / 291.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.007699, allocations: 23.98 kB / 291.4 MB, free: 2.598 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.0013/0.008998, allocations: 0.6262 MB / 292 MB, free: 2.289 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.728e-05/0.009086, allocations: 36.78 kB / 292.1 MB, free: 2.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.009093, allocations: 8 kB / 292.1 MB, free: 2.242 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.06e-05/0.009124, allocations: 20.84 kB / 292.1 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.009323, allocations: 91.28 kB / 292.2 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.009784, allocations: 255.5 kB / 292.4 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.929e-05/0.009823, allocations: 71.33 kB / 292.5 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.707e-05/0.00986, allocations: 24.73 kB / 292.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.00991, allocations: 55.38 kB / 292.6 MB, free: 1.668 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.009911, allocations: 0 / 292.6 MB, free: 1.668 MB / 282.7 MB Notification: Performance of Templates: time 0.003361/0.01327, allocations: 1.53 MB / 294.1 MB, free: 164 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.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.8805369157344103]