Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008243/0.0008242, allocations: 82.94 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1775/0.1775, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.472e-05, allocations: 4.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3564/0.4799, allocations: 88.27 MB / 0.5879 GB, free: 1.086 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.4801, allocations: 67.95 kB / 0.588 GB, free: 1.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01603/0.4962, allocations: 7.935 MB / 0.5957 GB, free: 9.078 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4962, allocations: 0 / 0.5957 GB, free: 9.078 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.4963, allocations: 8 kB / 0.5957 GB, free: 9.07 MB / 410.7 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.0005223/0.4968, allocations: 0.5326 MB / 0.5962 GB, free: 8.492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.4968, allocations: 12.03 kB / 0.5963 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.462e-05/0.4969, allocations: 43.44 kB / 0.5963 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.4974, allocations: 327.4 kB / 0.5966 GB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.4974, allocations: 0 / 0.5966 GB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.4975, allocations: 0 / 0.5966 GB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.508e-05/0.4976, allocations: 45.62 kB / 0.5966 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.4976, allocations: 3.938 kB / 0.5967 GB, free: 8.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.4976, allocations: 0 / 0.5967 GB, free: 8.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.4976, allocations: 8 kB / 0.5967 GB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.946e-05/0.4976, allocations: 12 kB / 0.5967 GB, free: 8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.4982, allocations: 424.7 kB / 0.5971 GB, free: 7.535 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.354e-05/0.4982, allocations: 30.5 kB / 0.5971 GB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.144e-05/0.4983, allocations: 8.922 kB / 0.5971 GB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.4983, allocations: 4 kB / 0.5971 GB, free: 7.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.4983, allocations: 34.56 kB / 0.5972 GB, free: 7.438 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4983, allocations: 0 / 0.5972 GB, free: 7.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001667/0.4985, allocations: 77.22 kB / 0.5972 GB, free: 7.355 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.4986, allocations: 51.41 kB / 0.5973 GB, free: 7.293 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.4996, allocations: 0.7899 MB / 0.598 GB, free: 6.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.4997, allocations: 25.7 kB / 0.5981 GB, free: 6.469 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.4998, allocations: 228.1 kB / 0.5983 GB, free: 6.242 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.4998, allocations: 7.906 kB / 0.5983 GB, free: 6.234 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.4998, allocations: 0 / 0.5983 GB, free: 6.234 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4999, allocations: 362.8 kB / 0.5986 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.5, allocations: 4 kB / 0.5986 GB, free: 5.867 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.148e-05/0.5, allocations: 8 kB / 0.5987 GB, free: 5.859 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.536e-05/0.5, allocations: 0 / 0.5987 GB, free: 5.859 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5, allocations: 4 kB / 0.5987 GB, free: 5.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.589e-05/0.5001, allocations: 77.31 kB / 0.5987 GB, free: 5.773 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.5001, allocations: 12 kB / 0.5987 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.5001, allocations: 0 / 0.5987 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.5002, allocations: 0 / 0.5987 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.5002, allocations: 4 kB / 0.5987 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.5003, allocations: 3.984 kB / 0.5987 GB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.835e-05/0.5003, allocations: 11.92 kB / 0.5988 GB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.5003, allocations: 0 / 0.5988 GB, free: 5.742 MB / 410.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 (2): * Single equations (assignments): 2 * 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 6.247e-05/0.5004, allocations: 108.9 kB / 0.5989 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.5005, allocations: 43.44 kB / 0.5989 GB, free: 5.586 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.5006, allocations: 100.6 kB / 0.599 GB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5006, allocations: 0 / 0.599 GB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5006, allocations: 0 / 0.599 GB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.5006, allocations: 0 / 0.599 GB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.5009, allocations: 325.3 kB / 0.5993 GB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5009, allocations: 4 kB / 0.5993 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.5009, allocations: 7.984 kB / 0.5993 GB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.501, allocations: 0 / 0.5993 GB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.501, allocations: 4.031 kB / 0.5993 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.501, allocations: 0 / 0.5993 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.501, allocations: 3.938 kB / 0.5993 GB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.5011, allocations: 182.9 kB / 0.5995 GB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.5013, allocations: 160.6 kB / 0.5997 GB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.5014, allocations: 8 kB / 0.5997 GB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.5015, allocations: 4 kB / 0.5997 GB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.5015, allocations: 7.969 kB / 0.5997 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.5015, allocations: 0 / 0.5997 GB, free: 4.695 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005899/0.5021, allocations: 0.6342 MB / 0.6003 GB, free: 4.062 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5021, allocations: 0 / 0.6003 GB, free: 4.062 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002485/0.5024, allocations: 44 kB / 0.6003 GB, free: 4.02 MB / 410.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 (2): * Single equations (assignments): 2 * 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.0007007/0.5031, allocations: 328.9 kB / 0.6007 GB, free: 3.785 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.026e-05/0.5032, allocations: 11.94 kB / 0.6007 GB, free: 3.773 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5032, allocations: 0 / 0.6007 GB, free: 3.773 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.76e-05/0.5032, allocations: 8 kB / 0.6007 GB, free: 3.766 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.5034, allocations: 30.02 kB / 0.6007 GB, free: 3.734 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008569/0.5043, allocations: 0.684 MB / 0.6014 GB, free: 3.027 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.5047, allocations: 0.8301 MB / 0.6022 GB, free: 2.172 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.322e-05/0.5047, allocations: 36.42 kB / 0.6022 GB, free: 2.133 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.5048, allocations: 19.44 kB / 0.6022 GB, free: 2.113 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5048, allocations: 0 / 0.6022 GB, free: 2.113 MB / 410.7 MB Notification: Performance of Templates: time 0.005391/0.5102, allocations: 2.252 MB / 0.6044 GB, free: 15.86 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches