Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009603/0.0009603, allocations: 196.7 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 226.5 MB / 245.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008043/0.0008042, allocations: 99.81 kB / 297.5 MB, free: 6.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.0002658, allocations: 11.98 kB / 358.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2535, allocations: 51.3 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.3648, allocations: 83.54 MB / 492.9 MB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.3651, allocations: 71.95 kB / 493 MB, free: 7.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2335/0.5986, allocations: 28.28 MB / 0.5091 GB, free: 94.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.987e-06/0.5987, allocations: 1.281 kB / 0.5091 GB, free: 94.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.5987, allocations: 3.656 kB / 0.5091 GB, free: 94.89 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.0007248/0.5995, allocations: 0.678 MB / 0.5097 GB, free: 94.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.5995, allocations: 20.53 kB / 0.5097 GB, free: 94.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.545e-05/0.5996, allocations: 38.78 kB / 0.5098 GB, free: 94.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.5999, allocations: 274.2 kB / 0.51 GB, free: 94.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.5999, allocations: 5.312 kB / 0.51 GB, free: 94.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.6, allocations: 8.5 kB / 0.5101 GB, free: 94.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.6003, allocations: 150.5 kB / 0.5102 GB, free: 94.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.6003, allocations: 4.969 kB / 0.5102 GB, free: 94.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.6003, allocations: 10.09 kB / 0.5102 GB, free: 94.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.6004, allocations: 1.062 kB / 0.5102 GB, free: 94.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.6005, allocations: 63.34 kB / 0.5103 GB, free: 94.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008955/0.6014, allocations: 474.5 kB / 0.5107 GB, free: 93.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.6017, allocations: 109.5 kB / 0.5108 GB, free: 93.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.6019, allocations: 91.98 kB / 0.5109 GB, free: 93.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.6019, allocations: 5.094 kB / 0.5109 GB, free: 93.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003444/0.6023, allocations: 221.9 kB / 0.5111 GB, free: 93.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.6023, allocations: 0 / 0.5111 GB, free: 93.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009258/0.6032, allocations: 0.5403 MB / 0.5117 GB, free: 93.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.6033, allocations: 168.1 kB / 0.5118 GB, free: 93.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005858/0.6039, allocations: 0.5117 MB / 0.5123 GB, free: 93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.6039, allocations: 32.95 kB / 0.5124 GB, free: 92.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.604, allocations: 104.4 kB / 0.5125 GB, free: 92.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.604, allocations: 30.47 kB / 0.5125 GB, free: 92.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.604, allocations: 6.625 kB / 0.5125 GB, free: 92.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.707e-05/0.6041, allocations: 325.8 kB / 0.5128 GB, free: 92.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.6042, allocations: 64.09 kB / 0.5129 GB, free: 92.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.6044, allocations: 81.41 kB / 0.5129 GB, free: 92.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.6046, allocations: 351 kB / 0.5133 GB, free: 92.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6047, allocations: 4 kB / 0.5133 GB, free: 92.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005028/0.6052, allocations: 443 kB / 0.5137 GB, free: 92.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.342e-05/0.6052, allocations: 121.8 kB / 0.5138 GB, free: 91.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6053, allocations: 0 / 0.5138 GB, free: 91.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.6053, allocations: 0 / 0.5138 GB, free: 91.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.972e-05/0.6053, allocations: 0 / 0.5138 GB, free: 91.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.6053, allocations: 3.969 kB / 0.5138 GB, free: 91.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.6054, allocations: 18.88 kB / 0.5138 GB, free: 91.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.6056, allocations: 122.4 kB / 0.514 GB, free: 91.97 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.0003222/0.6059, allocations: 371.6 kB / 0.5143 GB, free: 91.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.606, allocations: 37.75 kB / 0.5143 GB, free: 91.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.69e-05/0.6061, allocations: 65.38 kB / 0.5144 GB, free: 91.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.6061, allocations: 0 / 0.5144 GB, free: 91.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.6061, allocations: 0 / 0.5144 GB, free: 91.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6061, allocations: 2.062 kB / 0.5144 GB, free: 91.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008463/0.6069, allocations: 0.8833 MB / 0.5153 GB, free: 91.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.607, allocations: 0 / 0.5153 GB, free: 91.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-06/0.607, allocations: 4 kB / 0.5153 GB, free: 91.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.607, allocations: 3.469 kB / 0.5153 GB, free: 91.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.607, allocations: 25.88 kB / 0.5153 GB, free: 91.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.607, allocations: 0 / 0.5153 GB, free: 91.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.607, allocations: 0 / 0.5153 GB, free: 91.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005758/0.6076, allocations: 0.5935 MB / 0.5159 GB, free: 90.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.6079, allocations: 246 kB / 0.5161 GB, free: 90.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.6079, allocations: 11.75 kB / 0.5161 GB, free: 90.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.6081, allocations: 19.42 kB / 0.5161 GB, free: 90.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.6082, allocations: 42.69 kB / 0.5162 GB, free: 90.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.456e-05/0.6083, allocations: 123.3 kB / 0.5163 GB, free: 90.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003667/0.6087, allocations: 389.5 kB / 0.5167 GB, free: 90.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6087, allocations: 0 / 0.5167 GB, free: 90.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002652/0.609, allocations: 42.97 kB / 0.5167 GB, free: 90.52 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.0001303/0.6091, allocations: 119 kB / 0.5168 GB, free: 90.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000449/0.6095, allocations: 454.9 kB / 0.5173 GB, free: 90.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6096, allocations: 0 / 0.5173 GB, free: 90.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.6099, allocations: 384.6 kB / 0.5176 GB, free: 89.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.6104, allocations: 103.2 kB / 0.5177 GB, free: 89.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009972/0.6114, allocations: 0.7436 MB / 0.5185 GB, free: 89.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.6117, allocations: 0.8042 MB / 0.5192 GB, free: 88.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.105e-05/0.6118, allocations: 10.91 kB / 0.5192 GB, free: 88.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/0.6118, allocations: 11.19 kB / 0.5193 GB, free: 88.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.6118, allocations: 0 / 0.5193 GB, free: 88.52 MB / 378.7 MB Notification: Performance of Templates: time 0.007269/0.6191, allocations: 5.782 MB / 0.5249 GB, free: 86.19 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches