Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001573, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.00106, allocations: 78.67 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2722/0.2722, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.365e-05/3.376e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4757/0.5887, allocations: 86.94 MB / 0.5577 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.589, allocations: 77.42 kB / 0.5578 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0173/0.6063, allocations: 3.914 MB / 0.5616 GB, free: 13.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6063, allocations: 0 / 0.5616 GB, free: 13.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.6064, allocations: 4 kB / 0.5616 GB, free: 13.27 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007122/0.6071, allocations: 405.8 kB / 0.562 GB, free: 12.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/0.6072, allocations: 8.031 kB / 0.562 GB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.6072, allocations: 11.86 kB / 0.562 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.6075, allocations: 201 kB / 0.5622 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.6076, allocations: 7.984 kB / 0.5622 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.6076, allocations: 7.938 kB / 0.5622 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.6078, allocations: 67.08 kB / 0.5623 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.6078, allocations: 0 / 0.5623 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.6079, allocations: 3.812 kB / 0.5623 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.6079, allocations: 4 kB / 0.5623 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.608, allocations: 31.44 kB / 0.5623 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.6085, allocations: 304 kB / 0.5626 GB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.6087, allocations: 49.83 kB / 0.5626 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.942e-05/0.6088, allocations: 20.36 kB / 0.5627 GB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.6088, allocations: 0 / 0.5627 GB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.6088, allocations: 38.52 kB / 0.5627 GB, free: 12.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.6089, allocations: 0 / 0.5627 GB, free: 12.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001147/0.61, allocations: 224.1 kB / 0.5629 GB, free: 11.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.6101, allocations: 80.86 kB / 0.563 GB, free: 11.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.6103, allocations: 128.6 kB / 0.5631 GB, free: 11.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.6103, allocations: 25.7 kB / 0.5631 GB, free: 11.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.6104, allocations: 166.2 kB / 0.5633 GB, free: 11.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.6105, allocations: 27.38 kB / 0.5633 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-06/0.6105, allocations: 0 / 0.5633 GB, free: 11.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6106, allocations: 314.7 kB / 0.5636 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.6107, allocations: 31.67 kB / 0.5637 GB, free: 11.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-05/0.6108, allocations: 33.28 kB / 0.5637 GB, free: 11.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.528e-05/0.6109, allocations: 19.75 kB / 0.5637 GB, free: 11.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6109, allocations: 0 / 0.5637 GB, free: 11.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000265/0.6112, allocations: 81.38 kB / 0.5638 GB, free: 10.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.6113, allocations: 7.938 kB / 0.5638 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6113, allocations: 0 / 0.5638 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.6113, allocations: 0 / 0.5638 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/0.6117, allocations: 62.92 kB / 0.5639 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.6117, allocations: 4.062 kB / 0.5639 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.6121, allocations: 39.95 kB / 0.5639 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.6121, allocations: 0 / 0.5639 GB, free: 10.87 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.78e-05/0.6122, allocations: 110.4 kB / 0.564 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.6123, allocations: 11.86 kB / 0.564 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.6126, allocations: 110.5 kB / 0.5641 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.6126, allocations: 0 / 0.5641 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6126, allocations: 0 / 0.5641 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6127, allocations: 0 / 0.5641 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006421/0.6133, allocations: 389.6 kB / 0.5645 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6133, allocations: 0 / 0.5645 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.6137, allocations: 43.95 kB / 0.5645 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-06/0.6137, allocations: 4 kB / 0.5645 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.6138, allocations: 3.938 kB / 0.5645 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.6138, allocations: 4 kB / 0.5645 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6138, allocations: 0 / 0.5645 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.6141, allocations: 190.3 kB / 0.5647 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.6142, allocations: 85.02 kB / 0.5648 GB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.6142, allocations: 3.125 kB / 0.5648 GB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/0.6146, allocations: 39.95 kB / 0.5648 GB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/0.6147, allocations: 11.42 kB / 0.5649 GB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.6147, allocations: 4 kB / 0.5649 GB, free: 9.875 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001369/0.6148, allocations: 110.9 kB / 0.565 GB, free: 9.777 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6148, allocations: 0 / 0.565 GB, free: 9.777 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004077/0.6153, allocations: 39.81 kB / 0.565 GB, free: 9.742 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00126/0.6165, allocations: 425.1 kB / 0.5654 GB, free: 9.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.6168, allocations: 59.3 kB / 0.5655 GB, free: 9.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6168, allocations: 0 / 0.5655 GB, free: 9.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.617, allocations: 38.11 kB / 0.5655 GB, free: 9.312 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.6173, allocations: 30.7 kB / 0.5655 GB, free: 9.289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005023/0.6178, allocations: 155.9 kB / 0.5657 GB, free: 9.121 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.6182, allocations: 0.7004 MB / 0.5664 GB, free: 8.395 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.6183, allocations: 18.94 kB / 0.5664 GB, free: 8.379 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6183, allocations: 3.938 kB / 0.5664 GB, free: 8.375 MB / 378.7 MB Notification: Performance of Templates: time 0.006084/0.6244, allocations: 2.124 MB / 0.5685 GB, free: 6.258 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches