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.001288/0.001288, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001479/0.001479, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 63.88 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2193, allocations: 50.54 MB / 409.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01795/0.2373, allocations: 17.27 MB / 426.5 MB, free: 268 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.2483, allocations: 5.697 MB / 432.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003257/0.2516, allocations: 103.6 kB / 432.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004736/0.2564, allocations: 1.301 MB / 433.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006116/0.2626, allocations: 1.631 MB / 435.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003482/0.2661, allocations: 1.102 MB / 436.4 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00791/0.274, allocations: 5.219 MB / 441.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008132/0.2822, allocations: 4.323 MB / 445.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004682/0.2869, allocations: 2.192 MB / 448.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004715/0.2917, allocations: 2.638 MB / 450.7 MB, free: 7.898 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001824/0.2935, allocations: 0.6133 MB / 451.4 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002611/0.2961, allocations: 0.8552 MB / 452.2 MB, free: 6.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001976/0.2981, allocations: 1.422 MB / 453.6 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004727/0.3029, allocations: 2.653 MB / 456.3 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.3132, allocations: 8.125 MB / 464.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3133, allocations: 4 kB / 464.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3133, allocations: 0 / 464.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002286/0.3135, allocations: 0 / 464.4 MB, free: 10.19 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.01579/0.3293, allocations: 5.413 MB / 469.8 MB, free: 4.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3294, allocations: 12.03 kB / 469.8 MB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006124/0.3355, allocations: 1.018 MB / 470.9 MB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007612/0.3432, allocations: 3.011 MB / 473.9 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003071/0.3435, allocations: 308.2 kB / 474.2 MB, free: 296 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/0.3448, allocations: 400.1 kB / 474.6 MB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01242/0.3573, allocations: 5.213 MB / 479.8 MB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/0.3574, allocations: 7.844 kB / 479.8 MB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008375/0.3583, allocations: 164 kB / 479.9 MB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001668/0.3584, allocations: 168 kB / 480.1 MB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008716/0.3672, allocations: 4.462 MB / 484.6 MB, free: 5.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02496/0.3922, allocations: 16.67 MB / 0.4895 GB, free: 4.617 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007393/0.3996, allocations: 8.687 MB / 0.498 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003733/0.4034, allocations: 2.127 MB / 0.5 GB, free: 8.727 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008574/0.412, allocations: 5.753 MB / 0.5057 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.412, allocations: 51.88 kB / 0.5057 GB, free: 2.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.667e-06/0.412, allocations: 0 / 0.5057 GB, free: 2.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.0116/0.4236, allocations: 6.303 MB / 0.5119 GB, free: 12.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.4237, allocations: 76.59 kB / 0.5119 GB, free: 12.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/0.4269, allocations: 2.319 MB / 0.5142 GB, free: 9.688 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.427, allocations: 61.64 kB / 0.5143 GB, free: 9.621 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.4283, allocations: 1.852 MB / 0.5161 GB, free: 7.742 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004434/0.4288, allocations: 0.5468 MB / 0.5166 GB, free: 7.188 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005948/0.4294, allocations: 399.6 kB / 0.517 GB, free: 6.789 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.562e-05/0.4295, allocations: 305.1 kB / 0.5173 GB, free: 6.488 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.4309, allocations: 0.8553 MB / 0.5181 GB, free: 5.629 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/0.4328, allocations: 1.567 MB / 0.5196 GB, free: 3.734 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003344/0.4361, allocations: 2.574 MB / 0.5222 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.4362, allocations: 8 kB / 0.5222 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004761/0.4409, allocations: 2.978 MB / 0.5251 GB, free: 13.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.441, allocations: 16 kB / 0.5251 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/0.441, allocations: 20 kB / 0.5251 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004695/0.4415, allocations: 178.1 kB / 0.5253 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.4434, allocations: 0.5343 MB / 0.5258 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.4457, allocations: 2.433 MB / 0.5282 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.4475, allocations: 116.1 kB / 0.5283 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.4476, allocations: 104 kB / 0.5284 GB, free: 10.27 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.002039/0.4497, allocations: 1.207 MB / 0.5296 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004262/0.4501, allocations: 248.9 kB / 0.5298 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004176/0.4543, allocations: 2.523 MB / 0.5323 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.4543, allocations: 16 kB / 0.5323 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.4544, allocations: 4 kB / 0.5323 GB, free: 6.207 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.4544, allocations: 7.969 kB / 0.5323 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009295/0.4637, allocations: 5.901 MB / 0.5381 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.4637, allocations: 0 / 0.5381 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2452/0.7089, allocations: 277.4 kB / 0.5383 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/0.7102, allocations: 365 kB / 0.5387 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002922/0.7105, allocations: 38.92 kB / 0.5387 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00741/0.7179, allocations: 7.393 MB / 0.5459 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.7179, allocations: 4.562 kB / 0.5459 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004997/0.7229, allocations: 3.665 MB / 0.5495 GB, free: 115.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.724, allocations: 0.4892 MB / 0.55 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002665/0.7242, allocations: 35.61 kB / 0.55 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.7253, allocations: 79.62 kB / 0.5501 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/0.7255, allocations: 124.4 kB / 0.5502 GB, free: 115.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.76e-05/0.7256, allocations: 43.11 kB / 0.5503 GB, free: 115.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001799/0.7274, allocations: 1.567 MB / 0.5518 GB, free: 114.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7274, allocations: 3.719 kB / 0.5518 GB, free: 114.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00184/0.7293, allocations: 0.6782 MB / 0.5525 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.000272/0.7295, allocations: 179.5 kB / 0.5526 GB, free: 114.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003037/0.7326, allocations: 2.324 MB / 0.5549 GB, free: 113.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7326, allocations: 1.062 kB / 0.5549 GB, free: 113.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.7344, allocations: 1.472 MB / 0.5563 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.002029/0.7365, allocations: 0.6075 MB / 0.5569 GB, free: 112.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00905/0.7456, allocations: 6.931 MB / 0.5637 GB, free: 107.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/0.7473, allocations: 2.678 MB / 0.5663 GB, free: 105.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001523/0.7488, allocations: 0.5434 MB / 0.5668 GB, free: 105.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/0.7492, allocations: 167.4 kB / 0.567 GB, free: 105.1 MB / 462.1 MB Notification: Performance of SimCode: time 6.72e-07/0.7493, allocations: 4 kB / 0.567 GB, free: 105.1 MB / 462.1 MB Notification: Performance of Templates: time 0.04256/0.7918, allocations: 31.37 MB / 0.5976 GB, free: 74.18 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/jenkins/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/jenkins/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