Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.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) 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(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009859/0.0009859, allocations: 198.8 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007068/0.0007068, allocations: 98.03 kB / 297.4 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002119/0.000212, allocations: 4 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1911, allocations: 51.3 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08683/0.278, allocations: 83.54 MB / 492.2 MB, free: 8.043 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.2782, allocations: 75.97 kB / 492.3 MB, free: 7.969 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1919/0.4702, allocations: 28.3 MB / 0.5084 GB, free: 94.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4702, allocations: 0 / 0.5084 GB, free: 94.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.4702, allocations: 4.125 kB / 0.5084 GB, free: 94.86 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005031/0.4708, allocations: 0.6687 MB / 0.509 GB, free: 94.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.4708, allocations: 9.625 kB / 0.509 GB, free: 94.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.383e-05/0.4709, allocations: 38.34 kB / 0.5091 GB, free: 94.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.4711, allocations: 279.7 kB / 0.5093 GB, free: 94.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.4712, allocations: 5.344 kB / 0.5093 GB, free: 94.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.4712, allocations: 7.281 kB / 0.5093 GB, free: 94.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.4715, allocations: 154.2 kB / 0.5095 GB, free: 94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4715, allocations: 0.6875 kB / 0.5095 GB, free: 94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.4716, allocations: 9.344 kB / 0.5095 GB, free: 93.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4716, allocations: 1.031 kB / 0.5095 GB, free: 93.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.4717, allocations: 64.09 kB / 0.5096 GB, free: 93.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006339/0.4724, allocations: 487.1 kB / 0.51 GB, free: 93.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.4726, allocations: 106.4 kB / 0.5101 GB, free: 93.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.4728, allocations: 91.7 kB / 0.5102 GB, free: 93.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.4728, allocations: 1 kB / 0.5102 GB, free: 93.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000307/0.4731, allocations: 225.1 kB / 0.5104 GB, free: 93.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.4731, allocations: 0.5 kB / 0.5104 GB, free: 93.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008199/0.4739, allocations: 0.5285 MB / 0.511 GB, free: 93.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.474, allocations: 170.6 kB / 0.5111 GB, free: 93.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004922/0.4745, allocations: 0.5166 MB / 0.5116 GB, free: 92.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.4745, allocations: 36.59 kB / 0.5117 GB, free: 92.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.4746, allocations: 99.45 kB / 0.5117 GB, free: 92.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.4746, allocations: 23.44 kB / 0.5118 GB, free: 92.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.4747, allocations: 3.969 kB / 0.5118 GB, free: 92.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.358e-05/0.4747, allocations: 329.3 kB / 0.5121 GB, free: 92.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.4748, allocations: 62.7 kB / 0.5121 GB, free: 92.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.475, allocations: 86.47 kB / 0.5122 GB, free: 92.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.4752, allocations: 356.3 kB / 0.5126 GB, free: 92.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4752, allocations: 0 / 0.5126 GB, free: 92.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000505/0.4757, allocations: 444 kB / 0.513 GB, free: 92.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.4758, allocations: 129.4 kB / 0.5131 GB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4758, allocations: 3.156 kB / 0.5131 GB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.4758, allocations: 0 / 0.5131 GB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.505e-05/0.4758, allocations: 0 / 0.5131 GB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.4759, allocations: 0 / 0.5131 GB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.476, allocations: 19.14 kB / 0.5131 GB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.393e-05/0.4761, allocations: 122.1 kB / 0.5133 GB, free: 91.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0002519/0.4763, allocations: 368.8 kB / 0.5136 GB, free: 91.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.4764, allocations: 38.5 kB / 0.5136 GB, free: 91.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.599e-05/0.4765, allocations: 68.47 kB / 0.5137 GB, free: 91.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.4765, allocations: 3.938 kB / 0.5137 GB, free: 91.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4765, allocations: 0 / 0.5137 GB, free: 91.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4765, allocations: 0 / 0.5137 GB, free: 91.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007696/0.4773, allocations: 0.8677 MB / 0.5146 GB, free: 91.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4773, allocations: 0 / 0.5146 GB, free: 91.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-06/0.4773, allocations: 3.938 kB / 0.5146 GB, free: 91.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4773, allocations: 3.656 kB / 0.5146 GB, free: 91.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.4773, allocations: 25.28 kB / 0.5146 GB, free: 91.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4774, allocations: 0 / 0.5146 GB, free: 91.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4774, allocations: 3.469 kB / 0.5146 GB, free: 91.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.4779, allocations: 0.5932 MB / 0.5152 GB, free: 90.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.4782, allocations: 245.1 kB / 0.5154 GB, free: 90.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.4782, allocations: 11.62 kB / 0.5154 GB, free: 90.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.4784, allocations: 23.03 kB / 0.5154 GB, free: 90.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.4785, allocations: 36.34 kB / 0.5155 GB, free: 90.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.503e-05/0.4786, allocations: 130.6 kB / 0.5156 GB, free: 90.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003432/0.4789, allocations: 387.2 kB / 0.516 GB, free: 90.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4789, allocations: 0 / 0.516 GB, free: 90.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.4792, allocations: 42.5 kB / 0.516 GB, free: 90.54 MB / 378.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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.000127/0.4793, allocations: 120.2 kB / 0.5161 GB, free: 90.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.4797, allocations: 448.7 kB / 0.5166 GB, free: 90.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4797, allocations: 3.719 kB / 0.5166 GB, free: 90.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.48, allocations: 389.8 kB / 0.5169 GB, free: 89.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.4805, allocations: 106 kB / 0.517 GB, free: 89.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008877/0.4814, allocations: 0.7881 MB / 0.5178 GB, free: 89.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.4816, allocations: 0.8024 MB / 0.5186 GB, free: 88.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.4817, allocations: 10.62 kB / 0.5186 GB, free: 88.51 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4817, allocations: 0 / 0.5186 GB, free: 88.51 MB / 378.7 MB Notification: Performance of Templates: time 0.00399/0.4857, allocations: 3.9 MB / 0.5224 GB, free: 87.95 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches