Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002172/0.002172, allocations: 179.4 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.174/2.174, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 93.12 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2989/0.2989, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.713e-05/2.724e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4454, allocations: 58.84 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.6062, allocations: 85.93 MB / 0.5498 GB, free: 13.39 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.6065, allocations: 71.25 kB / 0.5499 GB, free: 13.32 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02955/0.6361, allocations: 7.746 MB / 0.5574 GB, free: 5.562 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6361, allocations: 3.391 kB / 0.5574 GB, free: 5.562 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.222e-05/0.6362, allocations: 8 kB / 0.5575 GB, free: 5.555 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00077/0.637, allocations: 0.5365 MB / 0.558 GB, free: 4.973 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.637, allocations: 8.031 kB / 0.558 GB, free: 4.965 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.6371, allocations: 47.39 kB / 0.558 GB, free: 4.918 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000693/0.6378, allocations: 331.3 kB / 0.5583 GB, free: 4.555 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.6379, allocations: 0 / 0.5583 GB, free: 4.555 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.6379, allocations: 7.984 kB / 0.5584 GB, free: 4.547 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.225e-05/0.638, allocations: 15.94 kB / 0.5584 GB, free: 4.531 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.504e-05/0.6381, allocations: 34.14 kB / 0.5584 GB, free: 4.492 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.6382, allocations: 0 / 0.5584 GB, free: 4.492 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.6382, allocations: 4 kB / 0.5584 GB, free: 4.488 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.6382, allocations: 11.94 kB / 0.5584 GB, free: 4.477 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008054/0.639, allocations: 397.4 kB / 0.5588 GB, free: 4.051 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.145e-05/0.6391, allocations: 30.52 kB / 0.5588 GB, free: 4.012 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.6392, allocations: 12.86 kB / 0.5588 GB, free: 3.996 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.6392, allocations: 0 / 0.5588 GB, free: 3.996 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.6393, allocations: 34.56 kB / 0.5589 GB, free: 3.953 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.6393, allocations: 0 / 0.5589 GB, free: 3.953 MB / 395.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002712/0.6395, allocations: 85.27 kB / 0.559 GB, free: 3.863 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.6396, allocations: 51.41 kB / 0.559 GB, free: 3.801 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.6414, allocations: 0.7589 MB / 0.5597 GB, free: 3.031 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.6415, allocations: 25.7 kB / 0.5598 GB, free: 3 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.6417, allocations: 230.5 kB / 0.56 GB, free: 2.773 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.6418, allocations: 15.83 kB / 0.56 GB, free: 2.758 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.6418, allocations: 4 kB / 0.56 GB, free: 2.754 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.6419, allocations: 318.8 kB / 0.5603 GB, free: 2.434 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-05/0.642, allocations: 8 kB / 0.5603 GB, free: 2.426 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.57e-05/0.642, allocations: 4 kB / 0.5603 GB, free: 2.422 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.6421, allocations: 11.94 kB / 0.5603 GB, free: 2.41 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6421, allocations: 0 / 0.5603 GB, free: 2.41 MB / 395.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001347/0.6422, allocations: 41.69 kB / 0.5604 GB, free: 2.363 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.6423, allocations: 8 kB / 0.5604 GB, free: 2.355 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.6423, allocations: 0 / 0.5604 GB, free: 2.355 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.6423, allocations: 0 / 0.5604 GB, free: 2.355 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.6425, allocations: 15.98 kB / 0.5604 GB, free: 2.34 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.6425, allocations: 3.953 kB / 0.5604 GB, free: 2.336 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.6426, allocations: 8 kB / 0.5604 GB, free: 2.328 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.6427, allocations: 0 / 0.5604 GB, free: 2.328 MB / 395.1 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 (3): * Single equations (assignments): 3 * 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.456e-05/0.6427, allocations: 101 kB / 0.5605 GB, free: 2.223 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.6429, allocations: 43.44 kB / 0.5605 GB, free: 2.18 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.6431, allocations: 109.3 kB / 0.5606 GB, free: 2.059 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6432, allocations: 0 / 0.5606 GB, free: 2.059 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.6432, allocations: 0 / 0.5606 GB, free: 2.059 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.6432, allocations: 3.953 kB / 0.5607 GB, free: 2.055 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.6436, allocations: 302 kB / 0.5609 GB, free: 1.723 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.6437, allocations: 4 kB / 0.5609 GB, free: 1.719 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.836e-05/0.6438, allocations: 11.98 kB / 0.561 GB, free: 1.707 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6438, allocations: 0 / 0.561 GB, free: 1.707 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.6438, allocations: 0 / 0.561 GB, free: 1.707 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.6438, allocations: 0 / 0.561 GB, free: 1.707 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6438, allocations: 4 kB / 0.561 GB, free: 1.703 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.6441, allocations: 191.2 kB / 0.5611 GB, free: 1.5 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.6444, allocations: 156.6 kB / 0.5613 GB, free: 1.328 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/0.6445, allocations: 0 / 0.5613 GB, free: 1.328 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.6447, allocations: 4 kB / 0.5613 GB, free: 1.324 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.6447, allocations: 11.92 kB / 0.5613 GB, free: 1.312 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.6448, allocations: 0 / 0.5613 GB, free: 1.312 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001073/0.6458, allocations: 0.6121 MB / 0.5619 GB, free: 0.7031 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6459, allocations: 0 / 0.5619 GB, free: 0.7031 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004287/0.6463, allocations: 52 kB / 0.562 GB, free: 0.6523 MB / 395.1 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 (3): * Single equations (assignments): 3 * 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.0008812/0.6472, allocations: 302.7 kB / 0.5622 GB, free: 400 kB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.6474, allocations: 15.94 kB / 0.5623 GB, free: 384 kB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6474, allocations: 0 / 0.5623 GB, free: 384 kB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/0.6474, allocations: 11.94 kB / 0.5623 GB, free: 372 kB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.6478, allocations: 33.89 kB / 0.5623 GB, free: 336 kB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.6496, allocations: 0.7394 MB / 0.563 GB, free: 15.56 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/0.6502, allocations: 0.8263 MB / 0.5638 GB, free: 14.71 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.6504, allocations: 23.44 kB / 0.5639 GB, free: 14.68 MB / 411.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6504, allocations: 0 / 0.5639 GB, free: 14.68 MB / 411.1 MB Notification: Performance of Templates: time 0.01218/0.6626, allocations: 4.037 MB / 0.5678 GB, free: 10.64 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches