Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001452/0.001452, allocations: 92.22 kB / 20.21 MB, free: 4.195 MB / 18.57 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.001628/0.001628, allocations: 157.3 kB / 23.52 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2405/0.2405, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.679e-05/3.898e-05, allocations: 2.312 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002923/0.002962, allocations: 1.614 MB / 348.6 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006988/0.003661, allocations: 351.3 kB / 348.9 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.401e-05/0.003735, allocations: 0 / 348.9 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006159/0.004351, allocations: 459.1 kB / 349.3 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.004651, allocations: 255.4 kB / 349.6 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.004988, allocations: 147.6 kB / 349.7 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.00519, allocations: 171.6 kB / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.831e-05/0.005288, allocations: 15.97 kB / 349.9 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.005404, allocations: 119.8 kB / 350 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.005588, allocations: 235.7 kB / 350.3 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.005612, allocations: 4 kB / 350.3 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.841e-05/0.00569, allocations: 43.86 kB / 350.3 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.005776, allocations: 87.64 kB / 350.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.005825, allocations: 39.73 kB / 350.4 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.00607, allocations: 235.1 kB / 350.7 MB, free: 6.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.006074, allocations: 0 / 350.7 MB, free: 6.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.006075, allocations: 0 / 350.7 MB, free: 6.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.006081, allocations: 0 / 350.7 MB, free: 6.051 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.0006187/0.006699, allocations: 0.5777 MB / 351.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.006736, allocations: 11.97 kB / 351.3 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.123e-05/0.006807, allocations: 48.59 kB / 351.3 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.007015, allocations: 242.1 kB / 351.5 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.007028, allocations: 384 / 351.5 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.007058, allocations: 8.359 kB / 351.5 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.007238, allocations: 58.23 kB / 351.6 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.007252, allocations: 4.141 kB / 351.6 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.007264, allocations: 4.125 kB / 351.6 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.00727, allocations: 4 kB / 351.6 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.007402, allocations: 35.97 kB / 351.7 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.007828, allocations: 348.4 kB / 352 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.007948, allocations: 38.56 kB / 352 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.967e-05/0.008017, allocations: 32.86 kB / 352.1 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.008044, allocations: 0 / 352.1 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.008065, allocations: 38.56 kB / 352.1 MB, free: 4.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.008066, allocations: 0 / 352.1 MB, free: 4.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007882/0.008854, allocations: 316.5 kB / 352.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.008878, allocations: 55.34 kB / 352.5 MB, free: 4.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005929/0.009471, allocations: 0.8496 MB / 353.3 MB, free: 3.262 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.009482, allocations: 29.7 kB / 353.3 MB, free: 3.227 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.0096, allocations: 212.1 kB / 353.5 MB, free: 3.016 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.009624, allocations: 23.75 kB / 353.6 MB, free: 2.992 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.009659, allocations: 21.72 kB / 353.6 MB, free: 2.965 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.009727, allocations: 362.8 kB / 353.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.009836, allocations: 35.97 kB / 354 MB, free: 2.566 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.348e-05/0.00993, allocations: 39.97 kB / 354 MB, free: 2.527 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.01013, allocations: 92.8 kB / 354.1 MB, free: 2.434 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.01013, allocations: 0 / 354.1 MB, free: 2.434 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002612/0.01039, allocations: 169.5 kB / 354.3 MB, free: 2.262 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.0104, allocations: 4 kB / 354.3 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01041, allocations: 0 / 354.3 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.01043, allocations: 0 / 354.3 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.01055, allocations: 19.98 kB / 354.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.01055, allocations: 0 / 354.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.965e-05/0.01062, allocations: 15.98 kB / 354.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.01063, allocations: 7.938 kB / 354.3 MB, free: 2.215 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 (7): * Single equations (assignments): 7 * 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.000135/0.01076, allocations: 221.7 kB / 354.5 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.01081, allocations: 43.72 kB / 354.6 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.01115, allocations: 177.4 kB / 354.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01116, allocations: 0 / 354.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01116, allocations: 0 / 354.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01117, allocations: 0 / 354.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.01166, allocations: 458 kB / 355.2 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01166, allocations: 0 / 355.2 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.446e-05/0.01173, allocations: 27.92 kB / 355.2 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01174, allocations: 0 / 355.2 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.01175, allocations: 0 / 355.2 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01175, allocations: 4 kB / 355.2 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01175, allocations: 0 / 355.2 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.01204, allocations: 267.1 kB / 355.5 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.01208, allocations: 31.72 kB / 355.5 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.0121, allocations: 8 kB / 355.5 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.864e-05/0.0122, allocations: 7.984 kB / 355.5 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.01226, allocations: 7.984 kB / 355.6 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.01226, allocations: 288 / 355.6 MB, free: 0.918 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004463/0.01271, allocations: 0.6472 MB / 356.2 MB, free: 280 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01271, allocations: 0 / 356.2 MB, free: 280 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002787/0.01299, allocations: 27.94 kB / 356.2 MB, free: 252 kB / 282.7 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 (7): * Single equations (assignments): 7 * 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.001979/0.01497, allocations: 444.8 kB / 356.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.0153, allocations: 87.92 kB / 356.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.0153, allocations: 0 / 356.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.01545, allocations: 47.91 kB / 356.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.01592, allocations: 35.33 kB / 356.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.01729, allocations: 0.8229 MB / 357.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.0176, allocations: 224.1 kB / 357.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.645e-05/0.0177, allocations: 16.28 kB / 357.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.01776, allocations: 20.48 kB / 357.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01776, allocations: 0 / 357.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of Templates: time 0.006131/0.02389, allocations: 1.479 MB / 359.4 MB, free: 13.14 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.903101398027502]