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.001485/0.001485, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.332/1.332, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 101.6 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007682/0.0007683, allocations: 35.95 kB / 350.1 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2394, allocations: 49.43 MB / 399.5 MB, free: 33.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01302/0.2524, allocations: 16.44 MB / 415.9 MB, free: 16.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.2627, allocations: 5.343 MB / 421.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003864/0.2666, allocations: 99.62 kB / 421.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00444/0.2711, allocations: 1.085 MB / 422.4 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006547/0.2777, allocations: 1.48 MB / 423.9 MB, free: 8.863 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.2813, allocations: 0.9524 MB / 424.9 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006807/0.2881, allocations: 5.36 MB / 430.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004146/0.2923, allocations: 3.657 MB / 433.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002995/0.2953, allocations: 1.86 MB / 435.8 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004152/0.2995, allocations: 2.436 MB / 438.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00137/0.3009, allocations: 368 kB / 438.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.303, allocations: 0.5856 MB / 439.1 MB, free: 9.531 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.3042, allocations: 1.16 MB / 440.3 MB, free: 8.367 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003306/0.3075, allocations: 2.356 MB / 442.7 MB, free: 6 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00881/0.3163, allocations: 7.836 MB / 450.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.3164, allocations: 0 / 450.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3164, allocations: 0 / 450.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003312/0.3167, allocations: 4 kB / 450.5 MB, free: 14.14 MB / 330.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.0162/0.3329, allocations: 5.362 MB / 455.9 MB, free: 8.691 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.333, allocations: 12.03 kB / 455.9 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005358/0.3384, allocations: 0.9947 MB / 456.9 MB, free: 7.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006898/0.3453, allocations: 2.82 MB / 459.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003088/0.3456, allocations: 304.2 kB / 460 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00111/0.3468, allocations: 403.9 kB / 460.4 MB, free: 4.109 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.3572, allocations: 5.217 MB / 465.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.248e-05/0.3573, allocations: 7.984 kB / 465.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003843/0.3577, allocations: 160 kB / 465.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000165/0.3579, allocations: 172 kB / 465.9 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008496/0.3664, allocations: 4.462 MB / 470.4 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02957/0.396, allocations: 16.83 MB / 487.2 MB, free: 8.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00739/0.4034, allocations: 8.424 MB / 495.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003/0.4065, allocations: 1.714 MB / 497.4 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008796/0.4153, allocations: 5.008 MB / 0.4906 GB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.4154, allocations: 51.88 kB / 0.4906 GB, free: 8.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=157): time 3.757e-06/0.4154, allocations: 0 / 0.4906 GB, free: 8.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.01243/0.4278, allocations: 6.154 MB / 0.4966 GB, free: 1.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.4279, allocations: 68.72 kB / 0.4967 GB, free: 1.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2012/0.6291, allocations: 2.301 MB / 0.499 GB, free: 93.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003185/0.6294, allocations: 53.92 kB / 0.499 GB, free: 93.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.6307, allocations: 1.848 MB / 0.5008 GB, free: 92.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005159/0.6312, allocations: 0.543 MB / 0.5013 GB, free: 92.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005677/0.6318, allocations: 395.9 kB / 0.5017 GB, free: 91.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.029e-05/0.6319, allocations: 303.2 kB / 0.502 GB, free: 91.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.6331, allocations: 0.8539 MB / 0.5028 GB, free: 91.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.6346, allocations: 1.558 MB / 0.5044 GB, free: 90.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002696/0.6373, allocations: 2.565 MB / 0.5069 GB, free: 88.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/0.6373, allocations: 3.969 kB / 0.5069 GB, free: 88.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004505/0.6418, allocations: 2.891 MB / 0.5097 GB, free: 87.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.6418, allocations: 19.39 kB / 0.5097 GB, free: 87.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/0.6419, allocations: 23.56 kB / 0.5097 GB, free: 87.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000281/0.6422, allocations: 123.8 kB / 0.5099 GB, free: 87.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.6441, allocations: 0.5333 MB / 0.5104 GB, free: 87.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.6454, allocations: 1.815 MB / 0.5122 GB, free: 85.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.6472, allocations: 116 kB / 0.5123 GB, free: 85.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.6473, allocations: 97.55 kB / 0.5124 GB, free: 85.4 MB / 378.7 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 (269): * Single equations (assignments): 267 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001637/0.649, allocations: 1.196 MB / 0.5135 GB, free: 84.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003635/0.6493, allocations: 251.1 kB / 0.5138 GB, free: 84.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003559/0.6529, allocations: 2.46 MB / 0.5162 GB, free: 83.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.6529, allocations: 14.72 kB / 0.5162 GB, free: 83.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.6529, allocations: 10.16 kB / 0.5162 GB, free: 83.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.653, allocations: 11.3 kB / 0.5162 GB, free: 83.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007884/0.6609, allocations: 5.806 MB / 0.5219 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.6609, allocations: 192 / 0.5219 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.662, allocations: 299.4 kB / 0.5222 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007872/0.6628, allocations: 320.7 kB / 0.5225 GB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.6629, allocations: 39.98 kB / 0.5225 GB, free: 79.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004554/0.6675, allocations: 6.393 MB / 0.5287 GB, free: 72.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6675, allocations: 7.984 kB / 0.5287 GB, free: 72.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02788/0.6954, allocations: 21.45 MB / 0.5497 GB, free: 50.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009208/0.6964, allocations: 0.5014 MB / 0.5502 GB, free: 49.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/0.6967, allocations: 39.88 kB / 0.5502 GB, free: 49.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.6978, allocations: 80.05 kB / 0.5503 GB, free: 49.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/0.698, allocations: 125.1 kB / 0.5504 GB, free: 49.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.257e-05/0.6981, allocations: 39.98 kB / 0.5505 GB, free: 49.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001903/0.7, allocations: 1.568 MB / 0.552 GB, free: 48.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7, allocations: 0 / 0.552 GB, free: 48.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002943/0.703, allocations: 0.9142 MB / 0.5529 GB, free: 47.1 MB / 378.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.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 (132): * Single equations (assignments): 129 * 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,5,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.0003329/0.7033, allocations: 171 kB / 0.553 GB, free: 46.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003105/0.7064, allocations: 2.272 MB / 0.5553 GB, free: 44.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7065, allocations: 0 / 0.5553 GB, free: 44.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.7083, allocations: 1.443 MB / 0.5567 GB, free: 43.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/0.7112, allocations: 0.5708 MB / 0.5572 GB, free: 42.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.7231, allocations: 10.14 MB / 0.5671 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002156/0.7252, allocations: 2.705 MB / 0.5698 GB, free: 29.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002041/0.7273, allocations: 0.563 MB / 0.5703 GB, free: 29.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/0.7278, allocations: 167.4 kB / 0.5705 GB, free: 28.91 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.7278, allocations: 0 / 0.5705 GB, free: 28.91 MB / 378.7 MB Notification: Performance of Templates: time 0.05636/0.7842, allocations: 35.64 MB / 0.6053 GB, free: 9.672 MB / 394.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@2/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