Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001063/0.001063, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 226.6 MB / 243.1 MB, free: 14.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007654/0.0007654, allocations: 97.03 kB / 295.1 MB, free: 10 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1756/0.1756, allocations: 44.84 MB / 392 MB, free: 9.281 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002224/0.0002224, allocations: 4 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09372/0.09395, allocations: 62.96 MB / 0.5153 GB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.001659/0.09565, allocations: 1.307 MB / 0.5166 GB, free: 1.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000694/0.09636, allocations: 495.2 kB / 0.5171 GB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.09641, allocations: 0 / 0.5171 GB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.09664, allocations: 75.83 kB / 0.5171 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.09683, allocations: 83.78 kB / 0.5172 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.09704, allocations: 74.59 kB / 0.5173 GB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.09717, allocations: 71.75 kB / 0.5174 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.64e-05/0.09726, allocations: 19.98 kB / 0.5174 GB, free: 0.625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.698e-05/0.09731, allocations: 31.89 kB / 0.5174 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.061e-05/0.09741, allocations: 39.84 kB / 0.5175 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.09743, allocations: 7.984 kB / 0.5175 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.183e-05/0.09752, allocations: 39.92 kB / 0.5175 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.09757, allocations: 19.92 kB / 0.5175 GB, free: 500 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.09761, allocations: 33.7 kB / 0.5176 GB, free: 460 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.09773, allocations: 75.88 kB / 0.5176 GB, free: 384 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.09775, allocations: 7.938 kB / 0.5176 GB, free: 376 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09775, allocations: 3.938 kB / 0.5176 GB, free: 372 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.09776, allocations: 0 / 0.5176 GB, free: 372 kB / 346.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.168/0.2657, allocations: 398.6 kB / 0.518 GB, free: 11.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2658, allocations: 8.469 kB / 0.518 GB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.2658, allocations: 13.44 kB / 0.518 GB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.266, allocations: 193.9 kB / 0.5182 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.2661, allocations: 3.031 kB / 0.5182 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.2661, allocations: 6.672 kB / 0.5182 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.2663, allocations: 53.03 kB / 0.5183 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.2663, allocations: 1.188 kB / 0.5183 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2663, allocations: 1.5 kB / 0.5183 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2664, allocations: 4.094 kB / 0.5183 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.2665, allocations: 29.44 kB / 0.5183 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.2669, allocations: 292.7 kB / 0.5186 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.267, allocations: 46.81 kB / 0.5186 GB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.767e-05/0.2671, allocations: 20.33 kB / 0.5187 GB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.2671, allocations: 5.078 kB / 0.5187 GB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.2671, allocations: 32.25 kB / 0.5187 GB, free: 11.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.024e-06/0.2671, allocations: 0.5625 kB / 0.5187 GB, free: 11.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.001068/0.2682, allocations: 255.8 kB / 0.5189 GB, free: 11.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.2683, allocations: 56.64 kB / 0.519 GB, free: 11.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.2685, allocations: 216.6 kB / 0.5192 GB, free: 11.01 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.2686, allocations: 28.72 kB / 0.5192 GB, free: 10.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.115e-05/0.2686, allocations: 108.4 kB / 0.5193 GB, free: 10.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.2687, allocations: 27.56 kB / 0.5194 GB, free: 10.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.2687, allocations: 2.344 kB / 0.5194 GB, free: 10.87 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.42e-05/0.2688, allocations: 324.1 kB / 0.5197 GB, free: 10.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.2689, allocations: 31.7 kB / 0.5197 GB, free: 10.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.52e-05/0.269, allocations: 29.31 kB / 0.5197 GB, free: 10.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.97e-05/0.2691, allocations: 33.78 kB / 0.5198 GB, free: 10.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2691, allocations: 0 / 0.5198 GB, free: 10.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002612/0.2694, allocations: 112.6 kB / 0.5199 GB, free: 10.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.2694, allocations: 8.812 kB / 0.5199 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2694, allocations: 0 / 0.5199 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2694, allocations: 0 / 0.5199 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2696, allocations: 18.84 kB / 0.5199 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.2696, allocations: 6.297 kB / 0.5199 GB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.708e-05/0.2696, allocations: 17.23 kB / 0.5199 GB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.2697, allocations: 1.719 kB / 0.5199 GB, free: 10.5 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.684e-05/0.2697, allocations: 130.8 kB / 0.52 GB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.2698, allocations: 9 kB / 0.52 GB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.2701, allocations: 129.4 kB / 0.5202 GB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2701, allocations: 1.75 kB / 0.5202 GB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2701, allocations: 0 / 0.5202 GB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2702, allocations: 9.531 kB / 0.5202 GB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.2706, allocations: 412.2 kB / 0.5206 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2707, allocations: 1.625 kB / 0.5206 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.2707, allocations: 19.36 kB / 0.5206 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.2708, allocations: 5.219 kB / 0.5206 GB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.2708, allocations: 6.172 kB / 0.5206 GB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2708, allocations: 4.969 kB / 0.5206 GB, free: 10 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2708, allocations: 0.875 kB / 0.5206 GB, free: 10 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.271, allocations: 210.7 kB / 0.5208 GB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.2711, allocations: 91.25 kB / 0.5209 GB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.2711, allocations: 3.078 kB / 0.5209 GB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.2712, allocations: 16.17 kB / 0.5209 GB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.2712, allocations: 7.172 kB / 0.5209 GB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.2713, allocations: 2.844 kB / 0.5209 GB, free: 9.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001494/0.2714, allocations: 160.8 kB / 0.5211 GB, free: 9.676 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2714, allocations: 0 / 0.5211 GB, free: 9.676 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.2717, allocations: 20.41 kB / 0.5211 GB, free: 9.676 MB / 346.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 (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.001015/0.2727, allocations: 450 kB / 0.5215 GB, free: 9.461 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002927/0.273, allocations: 71.44 kB / 0.5216 GB, free: 9.457 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.273, allocations: 7.969 kB / 0.5216 GB, free: 9.453 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.2731, allocations: 39.86 kB / 0.5216 GB, free: 9.449 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.2735, allocations: 16.81 kB / 0.5217 GB, free: 9.449 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.274, allocations: 297.3 kB / 0.5219 GB, free: 9.246 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.2742, allocations: 0.7069 MB / 0.5226 GB, free: 8.551 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.2743, allocations: 15.31 kB / 0.5226 GB, free: 8.547 MB / 346.7 MB Notification: Performance of SimCode: time 2e-07/0.2743, allocations: 3.938 kB / 0.5227 GB, free: 8.543 MB / 346.7 MB Notification: Performance of Templates: time 0.004428/0.2787, allocations: 1.749 MB / 0.5244 GB, free: 8.344 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches