Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.364/1.364, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008611/0.000861, allocations: 99.25 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.0002618, allocations: 7.938 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2463, allocations: 50.4 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3124/0.5587, allocations: 115.1 MB / 0.5045 GB, free: 100.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.559, allocations: 88.78 kB / 0.5046 GB, free: 100.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1904/0.7495, allocations: 86.21 MB / 0.5888 GB, free: 24.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7495, allocations: 0 / 0.5888 GB, free: 24.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001943/0.7497, allocations: 75.92 kB / 0.5888 GB, free: 24.37 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.006329/0.7561, allocations: 3.182 MB / 0.592 GB, free: 21.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.7561, allocations: 8.031 kB / 0.592 GB, free: 21.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.7576, allocations: 451.6 kB / 0.5924 GB, free: 20.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003774/0.7614, allocations: 1.969 MB / 0.5943 GB, free: 18.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.7615, allocations: 197.4 kB / 0.5945 GB, free: 18.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003563/0.7619, allocations: 267.9 kB / 0.5948 GB, free: 18.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004862/0.7668, allocations: 3.502 MB / 0.5982 GB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.009e-05/0.7668, allocations: 8 kB / 0.5982 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002368/0.7671, allocations: 108 kB / 0.5983 GB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-05/0.7672, allocations: 117.3 kB / 0.5984 GB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004135/0.7713, allocations: 2.855 MB / 0.6012 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01387/0.7852, allocations: 11.23 MB / 0.6122 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002709/0.788, allocations: 2.345 MB / 0.6145 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003347/0.7883, allocations: 219.5 kB / 0.6147 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.7884, allocations: 47.88 kB / 0.6147 GB, free: 13.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=134): time 4.008e-06/0.7884, allocations: 0 / 0.6147 GB, free: 13.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=157): time 0.01822/0.8066, allocations: 8.734 MB / 0.6232 GB, free: 4.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.8067, allocations: 72.66 kB / 0.6233 GB, free: 4.098 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/0.8093, allocations: 1.739 MB / 0.625 GB, free: 2.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.8095, allocations: 49.7 kB / 0.6251 GB, free: 2.266 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008515/0.8103, allocations: 1.304 MB / 0.6263 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004204/0.8107, allocations: 0.5353 MB / 0.6268 GB, free: 412 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.363e-05/0.8108, allocations: 36 kB / 0.6269 GB, free: 376 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.811, allocations: 373.9 kB / 0.6272 GB, free: 16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.8125, allocations: 0.9486 MB / 0.6282 GB, free: 15.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.8142, allocations: 1.403 MB / 0.6295 GB, free: 13.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.8159, allocations: 1.154 MB / 0.6307 GB, free: 12.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.8159, allocations: 4 kB / 0.6307 GB, free: 12.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.005274/0.8212, allocations: 3.164 MB / 0.6338 GB, free: 9.121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.8212, allocations: 10.66 kB / 0.6338 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.561e-05/0.8212, allocations: 19.98 kB / 0.6338 GB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001656/0.8229, allocations: 0.6316 MB / 0.6344 GB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.8245, allocations: 435.3 kB / 0.6348 GB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007584/0.8321, allocations: 5.949 MB / 0.6406 GB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.834, allocations: 139.8 kB / 0.6408 GB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.8342, allocations: 68 kB / 0.6408 GB, free: 1.742 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(6,72.2%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001736/0.8359, allocations: 0.8644 MB / 0.6417 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004473/0.8364, allocations: 213.4 kB / 0.6419 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004931/0.8413, allocations: 2.847 MB / 0.6447 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.8413, allocations: 16 kB / 0.6447 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/0.8414, allocations: 7.953 kB / 0.6447 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.8414, allocations: 11.91 kB / 0.6447 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009303/0.8507, allocations: 5.861 MB / 0.6504 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.8507, allocations: 0 / 0.6504 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.8519, allocations: 291.9 kB / 0.6507 GB, free: 7.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001714/0.8536, allocations: 0.6889 MB / 0.6514 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.8537, allocations: 39.98 kB / 0.6514 GB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2088/1.062, allocations: 7.7 MB / 0.6589 GB, free: 89.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.063, allocations: 3.875 kB / 0.6589 GB, free: 89.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005764/1.068, allocations: 4.257 MB / 0.6631 GB, free: 89.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/1.069, allocations: 495.3 kB / 0.6636 GB, free: 89.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/1.07, allocations: 41.41 kB / 0.6636 GB, free: 89.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/1.071, allocations: 117 kB / 0.6637 GB, free: 89.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/1.071, allocations: 123 kB / 0.6638 GB, free: 89.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.263e-05/1.071, allocations: 44.94 kB / 0.6639 GB, free: 89.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001589/1.073, allocations: 1.336 MB / 0.6652 GB, free: 89.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.073, allocations: 0 / 0.6652 GB, free: 89.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001836/1.075, allocations: 0.6819 MB / 0.6658 GB, free: 89.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005342/1.075, allocations: 334.8 kB / 0.6662 GB, free: 89.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003825/1.079, allocations: 2.812 MB / 0.6689 GB, free: 88.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.079, allocations: 3.812 kB / 0.6689 GB, free: 88.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002394/1.081, allocations: 1.73 MB / 0.6706 GB, free: 88.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/1.083, allocations: 455.6 kB / 0.671 GB, free: 88.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008607/1.092, allocations: 6.723 MB / 0.6776 GB, free: 85.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/1.094, allocations: 2.205 MB / 0.6797 GB, free: 85.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001531/1.095, allocations: 449.4 kB / 0.6802 GB, free: 85.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/1.096, allocations: 135.6 kB / 0.6803 GB, free: 85.01 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/1.096, allocations: 0 / 0.6803 GB, free: 85.01 MB / 426.7 MB Notification: Performance of Templates: time 0.04895/1.145, allocations: 33.83 MB / 0.7133 GB, free: 82.85 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches