Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00104/0.00104, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008949/0.0008946, allocations: 101.3 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.58e-05/1.59e-05, allocations: 4 kB / 343.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 51.47 MB / 395.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4059/0.5248, allocations: 120.7 MB / 0.5038 GB, free: 5.172 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.5251, allocations: 96.44 kB / 0.5039 GB, free: 5.121 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5966/1.122, allocations: 164.7 MB / 0.6648 GB, free: 61.65 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.483e-06/1.122, allocations: 0 / 0.6648 GB, free: 61.65 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003674/1.122, allocations: 91.88 kB / 0.6649 GB, free: 61.64 MB / 442.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.01086/1.133, allocations: 3.951 MB / 0.6687 GB, free: 59.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.133, allocations: 7.281 kB / 0.6687 GB, free: 59.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00523/1.138, allocations: 0.9563 MB / 0.6697 GB, free: 59.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008515/1.147, allocations: 3.84 MB / 0.6734 GB, free: 57.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/1.147, allocations: 134.4 kB / 0.6736 GB, free: 57.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009648/1.148, allocations: 236.5 kB / 0.6738 GB, free: 57.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007416/1.155, allocations: 3.791 MB / 0.6775 GB, free: 55.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009719/1.165, allocations: 4.433 MB / 0.6818 GB, free: 53.51 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001592/1.165, allocations: 7.812 kB / 0.6818 GB, free: 53.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009331/1.166, allocations: 0 / 0.6818 GB, free: 53.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/1.166, allocations: 173.5 kB / 0.682 GB, free: 53.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0259/1.192, allocations: 16.25 MB / 0.6979 GB, free: 41.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005783/1.198, allocations: 8.462 MB / 0.7061 GB, free: 32.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002701/1.201, allocations: 1.747 MB / 0.7078 GB, free: 30.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007938/1.209, allocations: 5.546 MB / 0.7132 GB, free: 24.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/1.209, allocations: 51.88 kB / 0.7133 GB, free: 24.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 3.867e-06/1.209, allocations: 0 / 0.7133 GB, free: 24.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.01038/1.219, allocations: 5.103 MB / 0.7183 GB, free: 19.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/1.219, allocations: 68.72 kB / 0.7183 GB, free: 19.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003008/1.223, allocations: 1.657 MB / 0.72 GB, free: 17.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/1.223, allocations: 33.7 kB / 0.72 GB, free: 17.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008982/1.224, allocations: 1.855 MB / 0.7218 GB, free: 15.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/1.224, allocations: 0.5158 MB / 0.7223 GB, free: 15.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/1.224, allocations: 0 / 0.7223 GB, free: 15.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/1.224, allocations: 390 kB / 0.7227 GB, free: 14.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009304/1.225, allocations: 0.7226 MB / 0.7234 GB, free: 14.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/1.226, allocations: 1.4 MB / 0.7248 GB, free: 12.42 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/1.229, allocations: 1.232 MB / 0.726 GB, free: 11.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/1.229, allocations: 4 kB / 0.726 GB, free: 11.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=267) (initialization): time 0.004653/1.233, allocations: 2.756 MB / 0.7287 GB, free: 8.398 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/1.233, allocations: 16 kB / 0.7287 GB, free: 8.383 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/1.233, allocations: 24.47 kB / 0.7287 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003933/1.234, allocations: 185.4 kB / 0.7289 GB, free: 8.172 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/1.236, allocations: 0.5227 MB / 0.7294 GB, free: 7.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/1.237, allocations: 2.175 MB / 0.7315 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/1.239, allocations: 75.94 kB / 0.7316 GB, free: 5.277 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/1.24, allocations: 95.98 kB / 0.7317 GB, free: 5.184 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 (258): * Single equations (assignments): 256 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003168/1.24, allocations: 168.2 kB / 0.7318 GB, free: 5.012 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000634/1.241, allocations: 225.3 kB / 0.732 GB, free: 4.789 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004422/1.245, allocations: 2.416 MB / 0.7344 GB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.245, allocations: 16 kB / 0.7344 GB, free: 2.301 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/1.245, allocations: 4 kB / 0.7344 GB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/1.245, allocations: 11.97 kB / 0.7344 GB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2775/1.523, allocations: 5.229 MB / 0.7395 GB, free: 69.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/1.523, allocations: 3.281 kB / 0.7395 GB, free: 69.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/1.524, allocations: 293.1 kB / 0.7398 GB, free: 69.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008866/1.525, allocations: 353 kB / 0.7402 GB, free: 69.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.366e-05/1.525, allocations: 18.23 kB / 0.7402 GB, free: 69.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005093/1.53, allocations: 6.494 MB / 0.7465 GB, free: 65.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.53, allocations: 4.281 kB / 0.7465 GB, free: 65.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004926/1.535, allocations: 3.564 MB / 0.75 GB, free: 64.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009836/1.536, allocations: 477.4 kB / 0.7505 GB, free: 64.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/1.536, allocations: 6.812 kB / 0.7505 GB, free: 64.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.537, allocations: 69.61 kB / 0.7505 GB, free: 64.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/1.537, allocations: 121.8 kB / 0.7506 GB, free: 64.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.732e-05/1.538, allocations: 43.61 kB / 0.7507 GB, free: 64.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001656/1.539, allocations: 1.224 MB / 0.7519 GB, free: 64.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.539, allocations: 0 / 0.7519 GB, free: 64.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002219/1.541, allocations: 0.6304 MB / 0.7525 GB, free: 64.37 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 (124): * Single equations (assignments): 121 * 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%) 8,(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.0005974/1.542, allocations: 411.8 kB / 0.7529 GB, free: 64.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0026/1.545, allocations: 2.015 MB / 0.7549 GB, free: 64.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.545, allocations: 3.5 kB / 0.7549 GB, free: 64.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/1.546, allocations: 1.337 MB / 0.7562 GB, free: 63.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/1.548, allocations: 439.9 kB / 0.7566 GB, free: 63.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/1.558, allocations: 5.433 MB / 0.7619 GB, free: 62.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002393/1.561, allocations: 2.739 MB / 0.7646 GB, free: 61.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002029/1.563, allocations: 0.5208 MB / 0.7651 GB, free: 61.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004021/1.563, allocations: 150 kB / 0.7652 GB, free: 61.63 MB / 442.7 MB Notification: Performance of SimCode: time 1.363e-06/1.563, allocations: 3.172 kB / 0.7652 GB, free: 61.63 MB / 442.7 MB Notification: Performance of Templates: time 0.05484/1.618, allocations: 25.97 MB / 0.7906 GB, free: 60.34 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches