Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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) 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(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009128/0.0009128, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 221.5 MB / 230.3 MB, free: 7.559 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.0009582/0.0009584, allocations: 98.06 kB / 281.2 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.113e-05, allocations: 7.984 kB / 337.1 MB, free: 10 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.09774, allocations: 50.41 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3352/0.4329, allocations: 105 MB / 492.5 MB, free: 5.785 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.4332, allocations: 89.55 kB / 492.6 MB, free: 5.699 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1162/0.5494, allocations: 45.73 MB / 0.5257 GB, free: 7.684 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5495, allocations: 0 / 0.5257 GB, free: 7.684 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001286/0.5496, allocations: 63.86 kB / 0.5257 GB, free: 7.621 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.003984/0.5536, allocations: 2.247 MB / 0.5279 GB, free: 5.316 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5537, allocations: 12.03 kB / 0.5279 GB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006572/0.5543, allocations: 296.7 kB / 0.5282 GB, free: 5.012 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/0.5569, allocations: 1.596 MB / 0.5298 GB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/0.557, allocations: 68 kB / 0.5298 GB, free: 3.289 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000261/0.5573, allocations: 135.9 kB / 0.53 GB, free: 3.156 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003002/0.5603, allocations: 2.004 MB / 0.5319 GB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003728/0.564, allocations: 2.4 MB / 0.5343 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.292e-05/0.5641, allocations: 3.906 kB / 0.5343 GB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.5643, allocations: 4 kB / 0.5343 GB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.5644, allocations: 100.2 kB / 0.5344 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.5751, allocations: 8.208 MB / 0.5424 GB, free: 6.059 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.5771, allocations: 1.656 MB / 0.544 GB, free: 4.285 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009811/0.5781, allocations: 0.7583 MB / 0.5448 GB, free: 3.523 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/0.5784, allocations: 219.5 kB / 0.545 GB, free: 3.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.5784, allocations: 43.88 kB / 0.545 GB, free: 3.219 MB / 426.7 MB Notification: Performance of pre-optimization done (n=106): time 3.426e-06/0.5785, allocations: 0 / 0.545 GB, free: 3.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=128): time 0.2909/0.8694, allocations: 4.78 MB / 0.5497 GB, free: 107.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.8694, allocations: 66.72 kB / 0.5497 GB, free: 107.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002347/0.8718, allocations: 1.024 MB / 0.5507 GB, free: 107.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.872, allocations: 26.73 kB / 0.5508 GB, free: 107.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000846/0.8729, allocations: 1.029 MB / 0.5518 GB, free: 107.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004459/0.8733, allocations: 429.3 kB / 0.5522 GB, free: 107 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.8734, allocations: 1.25 kB / 0.5522 GB, free: 107 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.8736, allocations: 363.3 kB / 0.5525 GB, free: 106.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.8751, allocations: 0.6772 MB / 0.5532 GB, free: 106.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.8768, allocations: 1.037 MB / 0.5542 GB, free: 106.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/0.8787, allocations: 0.849 MB / 0.555 GB, free: 106.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.8788, allocations: 2.75 kB / 0.555 GB, free: 106.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006003/0.8848, allocations: 2.354 MB / 0.5573 GB, free: 106.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.8848, allocations: 13.75 kB / 0.5573 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/0.8849, allocations: 15.92 kB / 0.5574 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/0.8871, allocations: 0.5737 MB / 0.5579 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/0.8892, allocations: 340.5 kB / 0.5582 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009481/0.8987, allocations: 6.08 MB / 0.5642 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.9006, allocations: 85.03 kB / 0.5643 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.9008, allocations: 62.95 kB / 0.5643 GB, free: 103.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003435/0.9012, allocations: 138.8 kB / 0.5645 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/0.9015, allocations: 151.2 kB / 0.5646 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005402/0.9069, allocations: 2.172 MB / 0.5667 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/0.907, allocations: 14.08 kB / 0.5667 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/0.907, allocations: 7.219 kB / 0.5667 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.62e-05/0.907, allocations: 8.125 kB / 0.5667 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.9183, allocations: 4.376 MB / 0.571 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.9183, allocations: 5.438 kB / 0.571 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.9199, allocations: 219.1 kB / 0.5712 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002457/0.9223, allocations: 0.63 MB / 0.5718 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.9225, allocations: 16.78 kB / 0.5719 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/0.933, allocations: 7.738 MB / 0.5794 GB, free: 97.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.933, allocations: 6.094 kB / 0.5794 GB, free: 97.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006354/0.9394, allocations: 3.331 MB / 0.5827 GB, free: 95.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.9404, allocations: 385 kB / 0.583 GB, free: 95.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002858/0.9407, allocations: 6.844 kB / 0.5831 GB, free: 95.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.942, allocations: 77.78 kB / 0.5831 GB, free: 95.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/0.9423, allocations: 104.3 kB / 0.5832 GB, free: 95.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.9425, allocations: 39.22 kB / 0.5833 GB, free: 95.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001423/0.9439, allocations: 0.7726 MB / 0.584 GB, free: 95.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.322e-06/0.9439, allocations: 0 / 0.584 GB, free: 95.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00231/0.9462, allocations: 460.1 kB / 0.5845 GB, free: 95.19 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 97 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006/0.9469, allocations: 299.2 kB / 0.5847 GB, free: 95.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004338/0.9512, allocations: 2.185 MB / 0.5869 GB, free: 94.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.9512, allocations: 0 / 0.5869 GB, free: 94.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002921/0.9542, allocations: 1.419 MB / 0.5883 GB, free: 93.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.9563, allocations: 297.3 kB / 0.5885 GB, free: 93.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007782/0.9641, allocations: 3.633 MB / 0.5921 GB, free: 91.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/0.9658, allocations: 1.864 MB / 0.5939 GB, free: 90.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001627/0.9674, allocations: 347.1 kB / 0.5942 GB, free: 90.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/0.9679, allocations: 110.2 kB / 0.5944 GB, free: 90.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/0.9679, allocations: 1.594 kB / 0.5944 GB, free: 90.91 MB / 426.7 MB Notification: Performance of Templates: time 0.04015/1.008, allocations: 21.9 MB / 0.6157 GB, free: 87.69 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches