Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.304/1.304, allocations: 221.3 MB / 235.5 MB, free: 2.949 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.000866/0.0008659, allocations: 103.6 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.923e-05/1.925e-05, allocations: 0 / 343.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09233/0.09236, allocations: 50.43 MB / 394.3 MB, free: 1.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3844/0.4768, allocations: 120.4 MB / 0.5026 GB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.4771, allocations: 95.77 kB / 0.5027 GB, free: 14.99 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6264/1.104, allocations: 160.9 MB / 0.6598 GB, free: 43.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.093e-06/1.104, allocations: 0 / 0.6598 GB, free: 43.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003893/1.104, allocations: 107.9 kB / 0.6599 GB, free: 43.59 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01246/1.116, allocations: 3.914 MB / 0.6637 GB, free: 39.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.117, allocations: 8.031 kB / 0.6637 GB, free: 39.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006045/1.123, allocations: 0.9236 MB / 0.6646 GB, free: 38.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/1.133, allocations: 3.806 MB / 0.6683 GB, free: 34.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000312/1.133, allocations: 304.1 kB / 0.6686 GB, free: 34.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/1.135, allocations: 400 kB / 0.669 GB, free: 34.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01257/1.148, allocations: 5.016 MB / 0.6739 GB, free: 28.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001329/1.148, allocations: 19.83 kB / 0.6739 GB, free: 28.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006636/1.148, allocations: 164 kB / 0.6741 GB, free: 28.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001476/1.149, allocations: 180 kB / 0.6742 GB, free: 28.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007375/1.156, allocations: 4.03 MB / 0.6782 GB, free: 24.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02543/1.181, allocations: 16.91 MB / 0.6947 GB, free: 7.125 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005878/1.187, allocations: 8.28 MB / 0.7028 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002771/1.19, allocations: 1.615 MB / 0.7043 GB, free: 12.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009011/1.199, allocations: 4.854 MB / 0.7091 GB, free: 7.164 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/1.199, allocations: 47.81 kB / 0.7091 GB, free: 7.109 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 4.037e-06/1.199, allocations: 0 / 0.7091 GB, free: 7.109 MB / 442.7 MB Notification: Performance of matching and sorting (n=154): time 0.007761/1.207, allocations: 4.518 MB / 0.7135 GB, free: 2.484 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/1.207, allocations: 64.72 kB / 0.7136 GB, free: 2.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003081/1.21, allocations: 1.965 MB / 0.7155 GB, free: 428 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/1.21, allocations: 49.7 kB / 0.7156 GB, free: 372 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2457/1.456, allocations: 1.846 MB / 0.7174 GB, free: 71.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006644/1.457, allocations: 0.5303 MB / 0.7179 GB, free: 71.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/1.457, allocations: 47.22 kB / 0.7179 GB, free: 71.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/1.457, allocations: 390.8 kB / 0.7183 GB, free: 70.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/1.458, allocations: 0.7486 MB / 0.719 GB, free: 70.85 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/1.46, allocations: 1.427 MB / 0.7204 GB, free: 70.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/1.462, allocations: 1.025 MB / 0.7214 GB, free: 70.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/1.462, allocations: 7.562 kB / 0.7214 GB, free: 70.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.004294/1.466, allocations: 2.665 MB / 0.724 GB, free: 69.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/1.466, allocations: 17.16 kB / 0.7241 GB, free: 69.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/1.466, allocations: 21.81 kB / 0.7241 GB, free: 69.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002993/1.466, allocations: 123.5 kB / 0.7242 GB, free: 69.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/1.468, allocations: 0.5287 MB / 0.7247 GB, free: 69.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/1.469, allocations: 1.816 MB / 0.7265 GB, free: 68.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/1.471, allocations: 116.7 kB / 0.7266 GB, free: 68.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/1.472, allocations: 91.56 kB / 0.7267 GB, free: 68.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (259): * Single equations (assignments): 257 * 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: 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003649/1.472, allocations: 237.5 kB / 0.7269 GB, free: 68.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004592/1.472, allocations: 247.2 kB / 0.7271 GB, free: 68.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004014/1.476, allocations: 2.276 MB / 0.7294 GB, free: 67.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.477, allocations: 16.22 kB / 0.7294 GB, free: 67.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.477, allocations: 5.219 kB / 0.7294 GB, free: 67.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/1.477, allocations: 6.891 kB / 0.7294 GB, free: 67.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/1.487, allocations: 5.558 MB / 0.7348 GB, free: 67.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.487, allocations: 2.062 kB / 0.7348 GB, free: 67.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/1.489, allocations: 286.4 kB / 0.7351 GB, free: 67.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008458/1.49, allocations: 316.4 kB / 0.7354 GB, free: 67.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/1.49, allocations: 37.22 kB / 0.7354 GB, free: 67.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005716/1.495, allocations: 6.302 MB / 0.7416 GB, free: 63.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.495, allocations: 5.594 kB / 0.7416 GB, free: 63.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005876/1.501, allocations: 3.397 MB / 0.7449 GB, free: 62.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/1.503, allocations: 495.2 kB / 0.7454 GB, free: 62.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003828/1.503, allocations: 31.23 kB / 0.7454 GB, free: 62.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/1.504, allocations: 90.08 kB / 0.7455 GB, free: 62.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003869/1.505, allocations: 122.5 kB / 0.7456 GB, free: 62.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.311e-05/1.505, allocations: 41.31 kB / 0.7457 GB, free: 62.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002708/1.508, allocations: 1.495 MB / 0.7471 GB, free: 61.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.508, allocations: 0 / 0.7471 GB, free: 61.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003223/1.511, allocations: 0.7223 MB / 0.7478 GB, free: 61.97 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.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 (126): * Single equations (assignments): 123 * 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 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007965/1.512, allocations: 475 kB / 0.7483 GB, free: 61.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003111/1.515, allocations: 2.081 MB / 0.7503 GB, free: 61.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.515, allocations: 3.344 kB / 0.7503 GB, free: 61.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001761/1.517, allocations: 1.34 MB / 0.7516 GB, free: 61.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/1.519, allocations: 0.5543 MB / 0.7522 GB, free: 61.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/1.53, allocations: 5.521 MB / 0.7575 GB, free: 59.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002318/1.532, allocations: 2.735 MB / 0.7602 GB, free: 59.14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002293/1.535, allocations: 0.5448 MB / 0.7607 GB, free: 59.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004218/1.535, allocations: 162.8 kB / 0.7609 GB, free: 59.07 MB / 442.7 MB Notification: Performance of SimCode: time 1.543e-06/1.535, allocations: 4 kB / 0.7609 GB, free: 59.07 MB / 442.7 MB Notification: Performance of Templates: time 0.05413/1.589, allocations: 33.85 MB / 0.794 GB, free: 57.43 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches