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.001643/0.001643, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 227.2 MB / 245 MB, free: 5.746 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008187/0.0008188, allocations: 107 kB / 297.3 MB, free: 5.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000208/0.000208, allocations: 7.984 kB / 357.9 MB, free: 9.293 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1903, allocations: 51.48 MB / 409.4 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08962/0.2799, allocations: 83.61 MB / 493 MB, free: 6.965 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001629/0.2801, allocations: 71.95 kB / 493.1 MB, free: 6.895 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.214/0.4941, allocations: 28.3 MB / 0.5092 GB, free: 94.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4941, allocations: 0 / 0.5092 GB, free: 94.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.4941, allocations: 4 kB / 0.5092 GB, free: 94.16 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.0006869/0.4948, allocations: 0.6838 MB / 0.5098 GB, free: 93.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.4949, allocations: 16.44 kB / 0.5099 GB, free: 93.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.495, allocations: 37.94 kB / 0.5099 GB, free: 93.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.4953, allocations: 258.2 kB / 0.5101 GB, free: 93.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.4954, allocations: 8.312 kB / 0.5101 GB, free: 93.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.4954, allocations: 7.719 kB / 0.5102 GB, free: 93.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.4958, allocations: 147.5 kB / 0.5103 GB, free: 93.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4958, allocations: 5.344 kB / 0.5103 GB, free: 93.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.4958, allocations: 2.906 kB / 0.5103 GB, free: 93.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4958, allocations: 1.719 kB / 0.5103 GB, free: 93.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.496, allocations: 66.14 kB / 0.5104 GB, free: 93.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007094/0.4967, allocations: 480.8 kB / 0.5108 GB, free: 93.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.4969, allocations: 104.8 kB / 0.5109 GB, free: 92.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.4969, allocations: 1.375 kB / 0.5109 GB, free: 92.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002618/0.4972, allocations: 227 kB / 0.5111 GB, free: 92.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.255e-06/0.4972, allocations: 4 kB / 0.5111 GB, free: 92.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007842/0.498, allocations: 0.6598 MB / 0.5118 GB, free: 92.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.498, allocations: 175.7 kB / 0.512 GB, free: 92.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/0.4985, allocations: 467.3 kB / 0.5124 GB, free: 92.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.4985, allocations: 32.95 kB / 0.5124 GB, free: 92.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.4986, allocations: 102.8 kB / 0.5125 GB, free: 92.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.4987, allocations: 28.7 kB / 0.5126 GB, free: 92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/0.4987, allocations: 3.875 kB / 0.5126 GB, free: 92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.4988, allocations: 322.1 kB / 0.5129 GB, free: 91.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.4989, allocations: 71.19 kB / 0.5129 GB, free: 91.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.499, allocations: 75.14 kB / 0.513 GB, free: 91.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.4991, allocations: 175.6 kB / 0.5132 GB, free: 91.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4991, allocations: 0 / 0.5132 GB, free: 91.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004799/0.4996, allocations: 409.9 kB / 0.5136 GB, free: 91.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.851e-05/0.4997, allocations: 128.1 kB / 0.5137 GB, free: 91.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.4997, allocations: 0 / 0.5137 GB, free: 91.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.4997, allocations: 32 / 0.5137 GB, free: 91.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.731e-05/0.4997, allocations: 4 kB / 0.5137 GB, free: 91.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.4997, allocations: 3.969 kB / 0.5137 GB, free: 91.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.4999, allocations: 23.45 kB / 0.5137 GB, free: 91.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.579e-05/0.5, allocations: 122.3 kB / 0.5138 GB, free: 91.23 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.0002588/0.5002, allocations: 359.6 kB / 0.5142 GB, free: 90.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.5003, allocations: 38.78 kB / 0.5142 GB, free: 90.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.5004, allocations: 64.64 kB / 0.5143 GB, free: 90.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.5004, allocations: 4 kB / 0.5143 GB, free: 90.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5005, allocations: 0 / 0.5143 GB, free: 90.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5005, allocations: 0 / 0.5143 GB, free: 90.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000802/0.5013, allocations: 0.8535 MB / 0.5151 GB, free: 90.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.5013, allocations: 3.938 kB / 0.5151 GB, free: 90.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-06/0.5013, allocations: 2.25 kB / 0.5151 GB, free: 90.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5013, allocations: 0 / 0.5151 GB, free: 90.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.5013, allocations: 21.39 kB / 0.5151 GB, free: 90.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5014, allocations: 6.609 kB / 0.5151 GB, free: 90.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5014, allocations: 3.953 kB / 0.5152 GB, free: 90.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/0.5019, allocations: 0.5592 MB / 0.5157 GB, free: 90.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002838/0.5022, allocations: 251 kB / 0.5159 GB, free: 89.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-05/0.5023, allocations: 10.41 kB / 0.5159 GB, free: 89.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.5024, allocations: 19.09 kB / 0.516 GB, free: 89.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.122e-05/0.5025, allocations: 31.7 kB / 0.516 GB, free: 89.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.336e-05/0.5026, allocations: 129.7 kB / 0.5161 GB, free: 89.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003594/0.503, allocations: 392.8 kB / 0.5165 GB, free: 89.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.503, allocations: 0 / 0.5165 GB, free: 89.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002711/0.5032, allocations: 41.91 kB / 0.5165 GB, free: 89.7 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.0001087/0.5034, allocations: 121.4 kB / 0.5167 GB, free: 89.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004073/0.5038, allocations: 450.6 kB / 0.5171 GB, free: 89.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5038, allocations: 0 / 0.5171 GB, free: 89.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.504, allocations: 383.9 kB / 0.5174 GB, free: 88.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.5044, allocations: 101.1 kB / 0.5175 GB, free: 88.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008368/0.5053, allocations: 0.7487 MB / 0.5183 GB, free: 88.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.5056, allocations: 0.8125 MB / 0.5191 GB, free: 87.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.312e-05/0.5056, allocations: 7.453 kB / 0.5191 GB, free: 87.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.5056, allocations: 11.38 kB / 0.5191 GB, free: 87.71 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5056, allocations: 0 / 0.5191 GB, free: 87.71 MB / 378.7 MB Notification: Performance of Templates: time 0.006729/0.5124, allocations: 5.765 MB / 0.5247 GB, free: 84.96 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/jenkins/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