Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001092/0.001092, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.000913/0.000913, allocations: 168.3 kB / 24.91 MB, free: 8.77 MB / 18.57 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/1, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.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.3095/0.3095, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.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.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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.73e-05, allocations: 3.078 kB / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002503/0.00253, allocations: 1.687 MB / 324.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008245/0.003355, allocations: 0.5568 MB / 325.5 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.003406, allocations: 4 kB / 325.5 MB, free: 7.426 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.003844, allocations: 447.1 kB / 325.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004114/0.004255, allocations: 299.2 kB / 326.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.004559, allocations: 131.5 kB / 326.3 MB, free: 6.566 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.004778, allocations: 175.6 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.004862, allocations: 12.61 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.004989, allocations: 123.8 kB / 326.7 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.005152, allocations: 203.6 kB / 326.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.005167, allocations: 0 / 326.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-05/0.005245, allocations: 39.88 kB / 326.9 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.83e-05/0.005333, allocations: 87.69 kB / 327 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.005367, allocations: 35.75 kB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.005588, allocations: 199.2 kB / 327.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.005593, allocations: 0 / 327.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.005594, allocations: 3.938 kB / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.005599, allocations: 4 kB / 327.2 MB, free: 5.699 MB / 298.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.0004544/0.006054, allocations: 0.5461 MB / 327.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.006086, allocations: 12.03 kB / 327.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.006126, allocations: 28.91 kB / 327.8 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.006303, allocations: 246 kB / 328 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-06/0.006311, allocations: 384 / 328 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.006331, allocations: 8.375 kB / 328 MB, free: 4.816 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.565e-05/0.006426, allocations: 54.94 kB / 328.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.006433, allocations: 192 / 328.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.006441, allocations: 8.125 kB / 328.1 MB, free: 4.746 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.006446, allocations: 4 kB / 328.1 MB, free: 4.742 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.257e-05/0.006469, allocations: 11.92 kB / 328.1 MB, free: 4.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.006681, allocations: 160.3 kB / 328.3 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.908e-05/0.006741, allocations: 34.64 kB / 328.3 MB, free: 4.516 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.006755, allocations: 12.84 kB / 328.3 MB, free: 4.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.006769, allocations: 0 / 328.3 MB, free: 4.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.006798, allocations: 38.5 kB / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.0068, allocations: 3.984 kB / 328.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.000354/0.007154, allocations: 129.5 kB / 328.5 MB, free: 4.316 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.007182, allocations: 51.41 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.007512, allocations: 0.5282 MB / 329.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.007525, allocations: 29.7 kB / 329.1 MB, free: 3.676 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.007587, allocations: 149.2 kB / 329.2 MB, free: 3.523 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.007611, allocations: 23.8 kB / 329.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.007641, allocations: 21.69 kB / 329.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.007732, allocations: 354.7 kB / 329.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.00775, allocations: 8 kB / 329.6 MB, free: 3.109 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.417e-05/0.007765, allocations: 7.984 kB / 329.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.622e-05/0.007801, allocations: 24.83 kB / 329.7 MB, free: 3.074 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.007802, allocations: 3.938 kB / 329.7 MB, free: 3.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.939e-05/0.007882, allocations: 77.53 kB / 329.8 MB, free: 2.988 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.007894, allocations: 4 kB / 329.8 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.007898, allocations: 4 kB / 329.8 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.007908, allocations: 4 kB / 329.8 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.332e-05/0.007981, allocations: 15.98 kB / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-06/0.007983, allocations: 0 / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.008012, allocations: 4 kB / 329.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.008016, allocations: 0 / 329.8 MB, free: 2.957 MB / 298.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 7.609e-05/0.008092, allocations: 112.7 kB / 329.9 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.008119, allocations: 27.91 kB / 329.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.008251, allocations: 105.5 kB / 330 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.008254, allocations: 4 kB / 330 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.008255, allocations: 0 / 330 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.008258, allocations: 0 / 330 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.008632, allocations: 279 kB / 330.3 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.008634, allocations: 0 / 330.3 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.008681, allocations: 19.92 kB / 330.3 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.008683, allocations: 0 / 330.3 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-06/0.008687, allocations: 0 / 330.3 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.008691, allocations: 4.078 kB / 330.3 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.008694, allocations: 7.984 kB / 330.3 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.441e-05/0.008789, allocations: 175.4 kB / 330.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.008813, allocations: 39.67 kB / 330.5 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.008828, allocations: 4 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.988e-05/0.008868, allocations: 0 / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.008896, allocations: 7.984 kB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.008899, allocations: 0 / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001976/0.009096, allocations: 283.2 kB / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009097, allocations: 0 / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001559/0.009253, allocations: 27.98 kB / 330.9 MB, free: 1.824 MB / 298.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.001211/0.01046, allocations: 0.5156 MB / 331.4 MB, free: 1.578 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.318e-05/0.01055, allocations: 24.86 kB / 331.4 MB, free: 1.551 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.01056, allocations: 4 kB / 331.4 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.561e-05/0.01058, allocations: 28.77 kB / 331.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.01078, allocations: 29.89 kB / 331.5 MB, free: 1.484 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006385/0.01142, allocations: 0.5854 MB / 332.1 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.893e-05/0.0115, allocations: 119.2 kB / 332.2 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.958e-05/0.01154, allocations: 16.3 kB / 332.2 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.0116, allocations: 63.36 kB / 332.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of SimCode: time 1.523e-06/0.0116, allocations: 0 / 332.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of Templates: time 0.004427/0.01603, allocations: 1.558 MB / 333.8 MB, free: 15.1 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.069274697918445]