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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001206/0.001206, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2804, allocations: 50.54 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01798/0.2985, allocations: 17.27 MB / 427.2 MB, free: 276 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.3091, allocations: 5.701 MB / 432.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002709/0.3119, allocations: 107.6 kB / 433 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003662/0.3155, allocations: 1.277 MB / 434.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005059/0.3207, allocations: 1.576 MB / 435.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.3236, allocations: 1.105 MB / 437 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006848/0.3304, allocations: 5.229 MB / 442.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006138/0.3366, allocations: 4.307 MB / 446.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003175/0.3398, allocations: 2.196 MB / 448.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004169/0.344, allocations: 2.631 MB / 451.3 MB, free: 7.988 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001448/0.3454, allocations: 0.6133 MB / 452 MB, free: 7.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.348, allocations: 0.863 MB / 452.8 MB, free: 6.512 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001817/0.3499, allocations: 1.426 MB / 454.3 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004267/0.3541, allocations: 2.649 MB / 456.9 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009758/0.3639, allocations: 8.133 MB / 465 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.8e-06/0.364, allocations: 3.938 kB / 465 MB, free: 10.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.364, allocations: 0 / 465 MB, free: 10.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002574/0.3642, allocations: 0 / 465 MB, free: 10.26 MB / 382.1 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.01565/0.3799, allocations: 5.413 MB / 470.4 MB, free: 4.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3799, allocations: 8.031 kB / 470.5 MB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006057/0.386, allocations: 1.022 MB / 471.5 MB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006551/0.3926, allocations: 3.007 MB / 474.5 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003281/0.3929, allocations: 304.2 kB / 474.8 MB, free: 380 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001263/0.3942, allocations: 400 kB / 475.2 MB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.4063, allocations: 5.213 MB / 480.4 MB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.4064, allocations: 15.84 kB / 480.4 MB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007198/0.4072, allocations: 160 kB / 480.6 MB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001774/0.4073, allocations: 172 kB / 480.7 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009255/0.4166, allocations: 4.462 MB / 485.2 MB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0286/0.4452, allocations: 16.66 MB / 0.4901 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008187/0.4535, allocations: 8.687 MB / 0.4986 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004466/0.458, allocations: 2.131 MB / 0.5007 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009166/0.4672, allocations: 5.761 MB / 0.5063 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.4672, allocations: 47.88 kB / 0.5063 GB, free: 2.656 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 2.916e-06/0.4672, allocations: 0 / 0.5063 GB, free: 2.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01249/0.4797, allocations: 6.311 MB / 0.5125 GB, free: 12.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.4798, allocations: 72.66 kB / 0.5126 GB, free: 12.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003866/0.4837, allocations: 2.315 MB / 0.5148 GB, free: 9.762 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001942/0.4839, allocations: 53.7 kB / 0.5149 GB, free: 9.703 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.4853, allocations: 1.856 MB / 0.5167 GB, free: 7.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005519/0.4859, allocations: 0.5507 MB / 0.5172 GB, free: 7.262 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006408/0.4865, allocations: 395.6 kB / 0.5176 GB, free: 6.867 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.4866, allocations: 309.1 kB / 0.5179 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.4882, allocations: 0.8514 MB / 0.5187 GB, free: 5.707 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.4902, allocations: 1.571 MB / 0.5203 GB, free: 3.809 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003705/0.494, allocations: 2.582 MB / 0.5228 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/0.494, allocations: 8 kB / 0.5228 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005406/0.4994, allocations: 2.974 MB / 0.5257 GB, free: 13.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.4995, allocations: 12 kB / 0.5257 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.183e-05/0.4995, allocations: 24 kB / 0.5257 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004702/0.5, allocations: 177.6 kB / 0.5259 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.502, allocations: 0.5266 MB / 0.5264 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.5047, allocations: 2.437 MB / 0.5288 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.5068, allocations: 119.8 kB / 0.5289 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.507, allocations: 99.92 kB / 0.529 GB, free: 10.35 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (266): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002651/0.5097, allocations: 1.196 MB / 0.5302 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007332/0.5104, allocations: 245 kB / 0.5304 GB, free: 8.898 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004812/0.5153, allocations: 2.535 MB / 0.5329 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.5153, allocations: 16 kB / 0.5329 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.5153, allocations: 4 kB / 0.5329 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.5153, allocations: 15.97 kB / 0.5329 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009732/0.5251, allocations: 5.886 MB / 0.5387 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.5251, allocations: 4 kB / 0.5387 GB, free: 260 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2211/0.7462, allocations: 280.4 kB / 0.5389 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001223/0.7475, allocations: 363.5 kB / 0.5393 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002699/0.7478, allocations: 38.59 kB / 0.5393 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006817/0.7546, allocations: 7.387 MB / 0.5465 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7546, allocations: 5.219 kB / 0.5465 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005611/0.7603, allocations: 3.666 MB / 0.5501 GB, free: 115.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.7615, allocations: 0.5 MB / 0.5506 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006142/0.7621, allocations: 30.72 kB / 0.5506 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.7635, allocations: 80.88 kB / 0.5507 GB, free: 115.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/0.7638, allocations: 122.8 kB / 0.5508 GB, free: 115.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.7639, allocations: 47.39 kB / 0.5509 GB, free: 115.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002663/0.7666, allocations: 1.568 MB / 0.5524 GB, free: 114.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.011e-06/0.7666, allocations: 0 / 0.5524 GB, free: 114.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002401/0.769, allocations: 0.6779 MB / 0.5531 GB, free: 114.4 MB / 462.1 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.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.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 (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003569/0.7694, allocations: 173.6 kB / 0.5532 GB, free: 114.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003434/0.7728, allocations: 2.331 MB / 0.5555 GB, free: 113.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.7729, allocations: 3.844 kB / 0.5555 GB, free: 113.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001974/0.7748, allocations: 1.476 MB / 0.5569 GB, free: 112.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/0.7777, allocations: 0.6108 MB / 0.5575 GB, free: 112.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009721/0.7874, allocations: 6.89 MB / 0.5643 GB, free: 107.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/0.7891, allocations: 2.613 MB / 0.5668 GB, free: 105.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007198/0.7899, allocations: 181.8 kB / 0.567 GB, free: 105.7 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.7899, allocations: 0 / 0.567 GB, free: 105.7 MB / 462.1 MB Notification: Performance of Templates: time 0.07574/0.8656, allocations: 96.28 MB / 0.661 GB, free: 9.66 MB / 462.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches