Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001088/0.001089, allocations: 197.2 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.168/1.168, allocations: 227.2 MB / 245 MB, free: 7.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008945/0.0008944, allocations: 101.4 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002044/0.0002044, allocations: 8 kB / 357.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1849, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2756/0.4606, allocations: 115.9 MB / 0.513 GB, free: 47.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.4609, allocations: 85.02 kB / 0.5131 GB, free: 47.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.197/0.6579, allocations: 86.33 MB / 0.5974 GB, free: 3.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.6579, allocations: 0 / 0.5974 GB, free: 3.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002066/0.6581, allocations: 79.88 kB / 0.5975 GB, free: 3.082 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.007192/0.6653, allocations: 3.185 MB / 0.6006 GB, free: 15.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.6654, allocations: 8.031 kB / 0.6006 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002144/0.6675, allocations: 487.6 kB / 0.6011 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004675/0.6722, allocations: 1.969 MB / 0.603 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.6724, allocations: 205.4 kB / 0.6032 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005703/0.673, allocations: 271.8 kB / 0.6035 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005943/0.6789, allocations: 3.498 MB / 0.6069 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-05/0.679, allocations: 11.84 kB / 0.6069 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002801/0.6793, allocations: 124 kB / 0.607 GB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.6794, allocations: 109.3 kB / 0.6071 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00519/0.6846, allocations: 2.851 MB / 0.6099 GB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01752/0.7022, allocations: 11.23 MB / 0.6209 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.7049, allocations: 2.33 MB / 0.6231 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003116/0.7052, allocations: 223.4 kB / 0.6234 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.7053, allocations: 55.88 kB / 0.6234 GB, free: 7.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 2.926e-06/0.7053, allocations: 0 / 0.6234 GB, free: 7.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.01769/0.723, allocations: 8.752 MB / 0.632 GB, free: 14.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.723, allocations: 68.72 kB / 0.632 GB, free: 14.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/0.7255, allocations: 1.743 MB / 0.6337 GB, free: 12.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.7256, allocations: 49.7 kB / 0.6338 GB, free: 12.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008829/0.7265, allocations: 1.3 MB / 0.635 GB, free: 11.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004144/0.7269, allocations: 0.5353 MB / 0.6356 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.727, allocations: 36 kB / 0.6356 GB, free: 11.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.7272, allocations: 381.9 kB / 0.636 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.7287, allocations: 0.9408 MB / 0.6369 GB, free: 9.691 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.7304, allocations: 1.403 MB / 0.6382 GB, free: 8.098 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.7321, allocations: 1.154 MB / 0.6394 GB, free: 6.949 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.7322, allocations: 4 kB / 0.6394 GB, free: 6.945 MB / 426.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.005129/0.7373, allocations: 3.172 MB / 0.6425 GB, free: 3.758 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.7373, allocations: 8 kB / 0.6425 GB, free: 3.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.787e-05/0.7374, allocations: 20.31 kB / 0.6425 GB, free: 3.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/0.7389, allocations: 0.6272 MB / 0.6431 GB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.7405, allocations: 435.3 kB / 0.6435 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007645/0.7482, allocations: 5.94 MB / 0.6493 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.7496, allocations: 131.9 kB / 0.6495 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.7498, allocations: 79.94 kB / 0.6495 GB, free: 12.39 MB / 442.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.001381/0.7512, allocations: 0.8525 MB / 0.6504 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003804/0.7516, allocations: 217.4 kB / 0.6506 GB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004898/0.7565, allocations: 2.85 MB / 0.6534 GB, free: 8.434 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.7565, allocations: 16 kB / 0.6534 GB, free: 8.418 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.7565, allocations: 7.984 kB / 0.6534 GB, free: 8.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.7566, allocations: 7.984 kB / 0.6534 GB, free: 8.402 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009736/0.7663, allocations: 5.858 MB / 0.6591 GB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.7663, allocations: 0 / 0.6591 GB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.7675, allocations: 287.8 kB / 0.6594 GB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/0.7694, allocations: 0.7046 MB / 0.6601 GB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.7695, allocations: 35.98 kB / 0.6601 GB, free: 1.418 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00914/0.7786, allocations: 7.71 MB / 0.6676 GB, free: 9.434 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.7787, allocations: 0 / 0.6676 GB, free: 9.434 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006313/0.785, allocations: 4.26 MB / 0.6718 GB, free: 5.059 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.7861, allocations: 494.4 kB / 0.6723 GB, free: 4.555 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003447/0.7864, allocations: 47.98 kB / 0.6723 GB, free: 4.508 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.7876, allocations: 107.9 kB / 0.6724 GB, free: 4.402 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/0.7879, allocations: 125.1 kB / 0.6725 GB, free: 4.281 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.788, allocations: 40 kB / 0.6726 GB, free: 4.242 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001862/0.7899, allocations: 1.34 MB / 0.6739 GB, free: 2.879 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7899, allocations: 0 / 0.6739 GB, free: 2.879 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001889/0.7918, allocations: 0.6835 MB / 0.6745 GB, free: 2.195 MB / 458.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.0005995/0.7924, allocations: 355.4 kB / 0.6749 GB, free: 1.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.1589/0.9513, allocations: 2.802 MB / 0.6776 GB, free: 111.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.9514, allocations: 0.75 kB / 0.6776 GB, free: 111.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003072/0.9544, allocations: 1.731 MB / 0.6793 GB, free: 111.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.9568, allocations: 465.1 kB / 0.6798 GB, free: 111.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008704/0.9655, allocations: 6.711 MB / 0.6863 GB, free: 108.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/0.9675, allocations: 2.209 MB / 0.6885 GB, free: 108 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001639/0.9692, allocations: 459.3 kB / 0.6889 GB, free: 107.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000477/0.9696, allocations: 135 kB / 0.689 GB, free: 107.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.193e-06/0.9697, allocations: 0 / 0.689 GB, free: 107.9 MB / 458.7 MB Notification: Performance of Templates: time 0.04141/1.011, allocations: 33.91 MB / 0.7222 GB, free: 106.6 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches