Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001425/0.001425, allocations: 177.8 kB / 8.36 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 1.967/1.967, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001556/0.001555, allocations: 92.06 kB / 262.1 MB, free: 13.86 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.2913/0.2913, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.118e-05/2.126e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4008, allocations: 58.86 MB / 477.1 MB, free: 5.246 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.5633, allocations: 86.15 MB / 0.55 GB, free: 13.14 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.5636, allocations: 63.97 kB / 0.5501 GB, free: 13.08 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02936/0.593, allocations: 7.918 MB / 0.5578 GB, free: 5.145 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.593, allocations: 0 / 0.5578 GB, free: 5.145 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.487e-05/0.5931, allocations: 8 kB / 0.5578 GB, free: 5.137 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007569/0.5938, allocations: 0.5436 MB / 0.5584 GB, free: 4.551 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.5939, allocations: 12.03 kB / 0.5584 GB, free: 4.539 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.594, allocations: 47.39 kB / 0.5584 GB, free: 4.492 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006902/0.5947, allocations: 331.3 kB / 0.5587 GB, free: 4.129 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.5947, allocations: 4 kB / 0.5587 GB, free: 4.125 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.5948, allocations: 0 / 0.5587 GB, free: 4.125 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.023e-05/0.5948, allocations: 12 kB / 0.5588 GB, free: 4.113 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.865e-05/0.595, allocations: 41.69 kB / 0.5588 GB, free: 4.066 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.595, allocations: 7.938 kB / 0.5588 GB, free: 4.059 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.595, allocations: 0 / 0.5588 GB, free: 4.059 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.595, allocations: 3.953 kB / 0.5588 GB, free: 4.055 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007652/0.5958, allocations: 413.2 kB / 0.5592 GB, free: 3.613 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.596, allocations: 34.56 kB / 0.5592 GB, free: 3.57 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.5961, allocations: 12.86 kB / 0.5592 GB, free: 3.555 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.5961, allocations: 0 / 0.5592 GB, free: 3.555 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.5961, allocations: 34.56 kB / 0.5593 GB, free: 3.512 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.5961, allocations: 0 / 0.5593 GB, free: 3.512 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005865/0.5967, allocations: 188.1 kB / 0.5595 GB, free: 3.32 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.5968, allocations: 55.41 kB / 0.5595 GB, free: 3.254 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.5986, allocations: 0.7512 MB / 0.5602 GB, free: 2.492 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.5986, allocations: 25.7 kB / 0.5603 GB, free: 2.461 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.5989, allocations: 230.5 kB / 0.5605 GB, free: 2.234 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.5989, allocations: 20.3 kB / 0.5605 GB, free: 2.215 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.5989, allocations: 4 kB / 0.5605 GB, free: 2.211 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5991, allocations: 314.8 kB / 0.5608 GB, free: 1.895 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.868e-05/0.5991, allocations: 12 kB / 0.5608 GB, free: 1.883 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.763e-05/0.5992, allocations: 8 kB / 0.5608 GB, free: 1.875 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.319e-05/0.5992, allocations: 11.94 kB / 0.5608 GB, free: 1.863 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5992, allocations: 0 / 0.5608 GB, free: 1.863 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001604/0.5994, allocations: 61.62 kB / 0.5609 GB, free: 1.797 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5994, allocations: 4 kB / 0.5609 GB, free: 1.793 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5994, allocations: 0 / 0.5609 GB, free: 1.793 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.5995, allocations: 7.953 kB / 0.5609 GB, free: 1.785 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.5996, allocations: 16.12 kB / 0.5609 GB, free: 1.77 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.5996, allocations: 0 / 0.5609 GB, free: 1.77 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.5998, allocations: 8 kB / 0.5609 GB, free: 1.762 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.5998, allocations: 0 / 0.5609 GB, free: 1.762 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 (5): * Single equations (assignments): 5 * 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.08e-05/0.5999, allocations: 101 kB / 0.561 GB, free: 1.656 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.6, allocations: 47.42 kB / 0.5611 GB, free: 1.609 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.6003, allocations: 125.6 kB / 0.5612 GB, free: 1.477 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.6003, allocations: 4.016 kB / 0.5612 GB, free: 1.473 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.6003, allocations: 4 kB / 0.5612 GB, free: 1.469 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.6004, allocations: 0 / 0.5612 GB, free: 1.469 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.6014, allocations: 0.5302 MB / 0.5617 GB, free: 0.8945 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.6015, allocations: 0 / 0.5617 GB, free: 0.8945 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.6016, allocations: 12 kB / 0.5617 GB, free: 0.8828 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.6016, allocations: 0 / 0.5617 GB, free: 0.8828 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.6016, allocations: 11.95 kB / 0.5617 GB, free: 0.8711 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.6016, allocations: 3.984 kB / 0.5618 GB, free: 0.8672 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.6017, allocations: 3.938 kB / 0.5618 GB, free: 0.8633 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.6019, allocations: 190.9 kB / 0.5619 GB, free: 0.6602 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003059/0.6023, allocations: 156.6 kB / 0.5621 GB, free: 500 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.154e-05/0.6023, allocations: 4 kB / 0.5621 GB, free: 496 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.6025, allocations: 7.953 kB / 0.5621 GB, free: 488 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.6026, allocations: 15.98 kB / 0.5621 GB, free: 472 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.6026, allocations: 0 / 0.5621 GB, free: 472 kB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001067/0.6037, allocations: 0.6043 MB / 0.5627 GB, free: 15.86 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6037, allocations: 0 / 0.5627 GB, free: 15.86 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004613/0.6041, allocations: 63.83 kB / 0.5628 GB, free: 15.8 MB / 411.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 (5): * Single equations (assignments): 5 * 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.001023/0.6052, allocations: 336.7 kB / 0.5631 GB, free: 15.51 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.6053, allocations: 27.94 kB / 0.5631 GB, free: 15.48 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6053, allocations: 0 / 0.5631 GB, free: 15.48 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 4.969e-05/0.6054, allocations: 15.94 kB / 0.5631 GB, free: 15.46 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.6058, allocations: 33.16 kB / 0.5632 GB, free: 15.43 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.6076, allocations: 0.7473 MB / 0.5639 GB, free: 14.66 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.6082, allocations: 0.8263 MB / 0.5647 GB, free: 13.8 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.6083, allocations: 27.44 kB / 0.5647 GB, free: 13.78 MB / 411.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6083, allocations: 0 / 0.5647 GB, free: 13.78 MB / 411.1 MB Notification: Performance of Templates: time 0.01219/0.6205, allocations: 4.21 MB / 0.5688 GB, free: 9.559 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches