Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 171.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007849/0.0007849, allocations: 82.72 kB / 268 MB, free: 14.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.119e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07929/0.07933, allocations: 47.57 MB / 370 MB, free: 1.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.304/0.3833, allocations: 114.5 MB / 484.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.3836, allocations: 85.55 kB / 484.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4174/0.801, allocations: 86.02 MB / 0.5572 GB, free: 93.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.801, allocations: 0 / 0.5572 GB, free: 93.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001743/0.8012, allocations: 78.8 kB / 0.5573 GB, free: 93.73 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.004925/0.8062, allocations: 2.785 MB / 0.56 GB, free: 92.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.8062, allocations: 13.75 kB / 0.56 GB, free: 92.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.8075, allocations: 447.8 kB / 0.5605 GB, free: 92.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003563/0.8111, allocations: 1.937 MB / 0.5624 GB, free: 91.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.8112, allocations: 201.1 kB / 0.5625 GB, free: 91.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003567/0.8116, allocations: 271.9 kB / 0.5628 GB, free: 91.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005044/0.8166, allocations: 3.411 MB / 0.5661 GB, free: 91.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.287e-05/0.8168, allocations: 2.812 kB / 0.5661 GB, free: 91.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002546/0.817, allocations: 112.5 kB / 0.5662 GB, free: 91.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.272e-05/0.8171, allocations: 116.9 kB / 0.5664 GB, free: 91.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004107/0.8212, allocations: 2.696 MB / 0.569 GB, free: 91.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/0.8366, allocations: 11.26 MB / 0.58 GB, free: 85.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002154/0.8388, allocations: 2.258 MB / 0.5822 GB, free: 83.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.8399, allocations: 0.9769 MB / 0.5831 GB, free: 83.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000305/0.8402, allocations: 227.9 kB / 0.5834 GB, free: 83.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.8402, allocations: 47.92 kB / 0.5834 GB, free: 83.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 3.597e-06/0.8403, allocations: 0 / 0.5834 GB, free: 83.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.01514/0.8554, allocations: 7.198 MB / 0.5904 GB, free: 80.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.8555, allocations: 78.11 kB / 0.5905 GB, free: 80.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/0.8579, allocations: 1.718 MB / 0.5922 GB, free: 80 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.8581, allocations: 49.67 kB / 0.5922 GB, free: 79.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006493/0.8587, allocations: 1.305 MB / 0.5935 GB, free: 78.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/0.8591, allocations: 0.5313 MB / 0.594 GB, free: 78.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.839e-05/0.8592, allocations: 35.84 kB / 0.5941 GB, free: 78.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.8593, allocations: 373.8 kB / 0.5944 GB, free: 78.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.8604, allocations: 0.8784 MB / 0.5953 GB, free: 77.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.8616, allocations: 1.332 MB / 0.5966 GB, free: 76.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.8629, allocations: 1.099 MB / 0.5976 GB, free: 76.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.986e-06/0.863, allocations: 3.938 kB / 0.5977 GB, free: 76.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.004454/0.8674, allocations: 3.023 MB / 0.6006 GB, free: 75.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.8675, allocations: 14.88 kB / 0.6006 GB, free: 75.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.558e-05/0.8675, allocations: 20.38 kB / 0.6006 GB, free: 75.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/0.869, allocations: 0.6282 MB / 0.6013 GB, free: 75.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.8705, allocations: 432.1 kB / 0.6017 GB, free: 74.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006278/0.8768, allocations: 5.712 MB / 0.6072 GB, free: 69.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/0.8788, allocations: 130.7 kB / 0.6074 GB, free: 69.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.879, allocations: 79.19 kB / 0.6074 GB, free: 69.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete 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.000307/0.8793, allocations: 210.5 kB / 0.6076 GB, free: 69.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003309/0.8797, allocations: 217.3 kB / 0.6078 GB, free: 69.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004152/0.8838, allocations: 2.719 MB / 0.6105 GB, free: 66.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.8839, allocations: 12 kB / 0.6105 GB, free: 66.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.8839, allocations: 12 kB / 0.6105 GB, free: 66.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.8839, allocations: 6.797 kB / 0.6105 GB, free: 66.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008428/0.8923, allocations: 5.739 MB / 0.6161 GB, free: 62.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.8924, allocations: 288 / 0.6161 GB, free: 62.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.8935, allocations: 288.4 kB / 0.6164 GB, free: 61.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001572/0.8951, allocations: 0.6929 MB / 0.6171 GB, free: 61.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.951e-05/0.8952, allocations: 35.47 kB / 0.6171 GB, free: 61.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007276/0.9025, allocations: 7.421 MB / 0.6244 GB, free: 54.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.9025, allocations: 4 kB / 0.6244 GB, free: 54.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005389/0.9079, allocations: 4.11 MB / 0.6284 GB, free: 50.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/0.9092, allocations: 0.4911 MB / 0.6289 GB, free: 50.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/0.9094, allocations: 35.7 kB / 0.6289 GB, free: 50.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.9105, allocations: 112.2 kB / 0.629 GB, free: 50.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003123/0.9109, allocations: 129.5 kB / 0.6291 GB, free: 50.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.911, allocations: 47.42 kB / 0.6292 GB, free: 50 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001778/0.9128, allocations: 1.318 MB / 0.6305 GB, free: 48.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.9128, allocations: 0 / 0.6305 GB, free: 48.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001916/0.9147, allocations: 0.6753 MB / 0.6311 GB, free: 48.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 117 * 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,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000535/0.9152, allocations: 329.1 kB / 0.6314 GB, free: 47.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003729/0.919, allocations: 2.668 MB / 0.634 GB, free: 45.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/0.919, allocations: 0 / 0.634 GB, free: 45.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002248/0.9213, allocations: 1.68 MB / 0.6357 GB, free: 43.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/0.9237, allocations: 461.9 kB / 0.6361 GB, free: 42.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008785/0.9325, allocations: 4.638 MB / 0.6407 GB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002042/0.9346, allocations: 2.198 MB / 0.6428 GB, free: 36.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001767/0.9364, allocations: 454.8 kB / 0.6432 GB, free: 35.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00062/0.937, allocations: 135.4 kB / 0.6434 GB, free: 35.52 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.937, allocations: 0 / 0.6434 GB, free: 35.52 MB / 410.7 MB Notification: Performance of Templates: time 0.05926/0.9963, allocations: 34.34 MB / 0.6769 GB, free: 1.398 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches