Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009873/0.0009873, allocations: 194.8 kB / 16.79 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 226.5 MB / 244.1 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008601/0.0008601, allocations: 91.92 kB / 296.1 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2996/0.2996, allocations: 44.82 MB / 392.9 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002442/0.0002443, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2906, allocations: 62.95 MB / 0.5165 GB, free: 36.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.4025, allocations: 89.94 MB / 0.6043 GB, free: 15.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.4028, allocations: 75.97 kB / 0.6044 GB, free: 15.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0198/0.4226, allocations: 9.247 MB / 0.6134 GB, free: 6.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4226, allocations: 0 / 0.6134 GB, free: 6.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.486e-05/0.4227, allocations: 8 kB / 0.6134 GB, free: 6.082 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000709/0.4234, allocations: 0.6497 MB / 0.614 GB, free: 5.379 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.4234, allocations: 8.875 kB / 0.6141 GB, free: 5.371 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.533e-05/0.4235, allocations: 44.38 kB / 0.6141 GB, free: 5.328 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.424, allocations: 352 kB / 0.6144 GB, free: 4.945 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.424, allocations: 8.375 kB / 0.6144 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.424, allocations: 4.375 kB / 0.6144 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.4242, allocations: 62.17 kB / 0.6145 GB, free: 4.867 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4242, allocations: 192 / 0.6145 GB, free: 4.867 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4242, allocations: 11.88 kB / 0.6145 GB, free: 4.855 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.4242, allocations: 0 / 0.6145 GB, free: 4.855 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.544e-05/0.4243, allocations: 35.97 kB / 0.6146 GB, free: 4.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.4249, allocations: 452.5 kB / 0.615 GB, free: 4.328 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.996e-05/0.425, allocations: 42.56 kB / 0.615 GB, free: 4.277 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.4251, allocations: 20.94 kB / 0.615 GB, free: 4.254 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.4251, allocations: 0 / 0.615 GB, free: 4.254 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.4251, allocations: 42.59 kB / 0.6151 GB, free: 4.203 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.4251, allocations: 0 / 0.6151 GB, free: 4.203 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000885/0.426, allocations: 331.9 kB / 0.6154 GB, free: 3.871 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.4261, allocations: 51.41 kB / 0.6154 GB, free: 3.809 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.4273, allocations: 0.8659 MB / 0.6163 GB, free: 2.934 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.4273, allocations: 25.7 kB / 0.6163 GB, free: 2.902 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.4275, allocations: 224.1 kB / 0.6165 GB, free: 2.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.4275, allocations: 27.58 kB / 0.6166 GB, free: 2.652 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.4275, allocations: 4 kB / 0.6166 GB, free: 2.648 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4277, allocations: 362.7 kB / 0.6169 GB, free: 2.285 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.4277, allocations: 31.98 kB / 0.6169 GB, free: 2.254 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.4278, allocations: 31.97 kB / 0.617 GB, free: 2.223 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.428, allocations: 64.83 kB / 0.617 GB, free: 2.156 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.428, allocations: 0 / 0.617 GB, free: 2.156 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002423/0.4282, allocations: 149.3 kB / 0.6172 GB, free: 2.004 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4282, allocations: 8 kB / 0.6172 GB, free: 1.996 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.4282, allocations: 0 / 0.6172 GB, free: 1.996 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.4283, allocations: 0 / 0.6172 GB, free: 1.996 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.4284, allocations: 19.98 kB / 0.6172 GB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4284, allocations: 4.062 kB / 0.6172 GB, free: 1.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.982e-05/0.4285, allocations: 15.94 kB / 0.6172 GB, free: 1.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.4285, allocations: 4 kB / 0.6172 GB, free: 1.953 MB / 426.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 0.0001764/0.4287, allocations: 213.8 kB / 0.6174 GB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.4287, allocations: 43.44 kB / 0.6175 GB, free: 1.691 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.429, allocations: 173.4 kB / 0.6176 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4291, allocations: 0 / 0.6176 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4291, allocations: 4 kB / 0.6176 GB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4291, allocations: 3.938 kB / 0.6176 GB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000807/0.4299, allocations: 0.6436 MB / 0.6183 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4299, allocations: 0 / 0.6183 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.83e-05/0.43, allocations: 23.98 kB / 0.6183 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.43, allocations: 7.938 kB / 0.6183 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.43, allocations: 0 / 0.6183 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.43, allocations: 0 / 0.6183 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.43, allocations: 3.938 kB / 0.6183 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.4303, allocations: 248 kB / 0.6185 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.4305, allocations: 164.5 kB / 0.6187 GB, free: 336 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.4305, allocations: 7.938 kB / 0.6187 GB, free: 328 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.91e-05/0.4307, allocations: 11.98 kB / 0.6187 GB, free: 316 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.4307, allocations: 4 kB / 0.6187 GB, free: 312 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.4307, allocations: 4 kB / 0.6187 GB, free: 308 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000693/0.4314, allocations: 0.6472 MB / 0.6194 GB, free: 15.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4314, allocations: 0 / 0.6194 GB, free: 15.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.4317, allocations: 71.94 kB / 0.6194 GB, free: 15.59 MB / 442.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.0008994/0.4326, allocations: 460 kB / 0.6199 GB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.4329, allocations: 79.94 kB / 0.6199 GB, free: 15.22 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4329, allocations: 0 / 0.6199 GB, free: 15.22 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.418e-05/0.433, allocations: 39.92 kB / 0.62 GB, free: 15.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.4333, allocations: 26.3 kB / 0.62 GB, free: 15.15 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.4346, allocations: 0.9962 MB / 0.621 GB, free: 14.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.435, allocations: 0.8262 MB / 0.6218 GB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.876e-05/0.4351, allocations: 23.69 kB / 0.6218 GB, free: 13.25 MB / 442.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4351, allocations: 0 / 0.6218 GB, free: 13.25 MB / 442.7 MB Notification: Performance of Templates: time 0.007569/0.4427, allocations: 4.534 MB / 0.6262 GB, free: 8.703 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches