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.001537/0.001537, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001835/0.001835, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.98 kB / 307 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09355/0.09483, allocations: 50.53 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.1703/0.2652, allocations: 17.26 MB / 374.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.2756, allocations: 5.704 MB / 380.5 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002907/0.2785, allocations: 104.9 kB / 380.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003357/0.2819, allocations: 1.267 MB / 381.8 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005375/0.2873, allocations: 1.588 MB / 383.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.29, allocations: 1.1 MB / 384.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006101/0.2961, allocations: 5.203 MB / 389.7 MB, free: 4.727 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00514/0.3012, allocations: 4.311 MB / 394 MB, free: 2.945 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003133/0.3044, allocations: 2.174 MB / 396.2 MB, free: 1.879 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003555/0.308, allocations: 2.625 MB / 398.8 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001153/0.3091, allocations: 0.6143 MB / 399.4 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.3113, allocations: 0.8785 MB / 400.3 MB, free: 492 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.3125, allocations: 1.42 MB / 401.7 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003242/0.3158, allocations: 2.653 MB / 404.4 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008132/0.3239, allocations: 8.062 MB / 412.4 MB, free: 5.367 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.324, allocations: 4 kB / 412.5 MB, free: 5.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.324, allocations: 0 / 412.5 MB, free: 5.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002058/0.3242, allocations: 0 / 412.5 MB, free: 5.363 MB / 318.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.0138/0.338, allocations: 5.418 MB / 417.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.338, allocations: 12.03 kB / 417.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005381/0.3434, allocations: 1.02 MB / 418.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005855/0.3493, allocations: 2.917 MB / 421.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/0.3496, allocations: 312.4 kB / 422.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008172/0.3505, allocations: 395.9 kB / 422.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009001/0.3595, allocations: 5.217 MB / 427.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.388e-05/0.3596, allocations: 4 kB / 427.7 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003693/0.3599, allocations: 164 kB / 427.9 MB, free: 5.738 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001509/0.3601, allocations: 176 kB / 428.1 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007749/0.3679, allocations: 4.458 MB / 432.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0272/0.3951, allocations: 16.88 MB / 449.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008132/0.4033, allocations: 8.693 MB / 458.1 MB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003595/0.4069, allocations: 1.996 MB / 460.1 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009069/0.416, allocations: 5.776 MB / 465.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.416, allocations: 47.88 kB / 465.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 3.106e-06/0.4161, allocations: 0 / 465.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=160): time 0.01281/0.4289, allocations: 6.299 MB / 472.2 MB, free: 7.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.4289, allocations: 76.66 kB / 472.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003993/0.4329, allocations: 2.315 MB / 474.6 MB, free: 4.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.4331, allocations: 53.7 kB / 474.7 MB, free: 4.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.4345, allocations: 1.86 MB / 476.5 MB, free: 2.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000519/0.435, allocations: 0.5469 MB / 477.1 MB, free: 2.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007014/0.4358, allocations: 395.6 kB / 477.5 MB, free: 1.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4359, allocations: 301.1 kB / 477.7 MB, free: 1.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.4375, allocations: 0.8553 MB / 478.6 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/0.4396, allocations: 1.571 MB / 480.2 MB, free: 14.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003619/0.4432, allocations: 2.582 MB / 482.8 MB, free: 12.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.4432, allocations: 4 kB / 482.8 MB, free: 12.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005072/0.4483, allocations: 2.97 MB / 485.7 MB, free: 9.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.4484, allocations: 16 kB / 485.7 MB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.51e-05/0.4484, allocations: 24.53 kB / 485.8 MB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/0.4488, allocations: 177.6 kB / 485.9 MB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/0.4508, allocations: 0.5343 MB / 486.5 MB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.4533, allocations: 2.437 MB / 488.9 MB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.4552, allocations: 107.8 kB / 489 MB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.4553, allocations: 104 kB / 489.1 MB, free: 5.484 MB / 398.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.002036/0.4574, allocations: 1.207 MB / 490.3 MB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000639/0.458, allocations: 245 kB / 490.6 MB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004642/0.4627, allocations: 2.527 MB / 493.1 MB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.4627, allocations: 16 kB / 493.1 MB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.4627, allocations: 4 kB / 493.1 MB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.4628, allocations: 7.969 kB / 493.1 MB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.4728, allocations: 5.904 MB / 499 MB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.4729, allocations: 4 kB / 499 MB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.4741, allocations: 279.6 kB / 499.3 MB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009116/0.4751, allocations: 366.4 kB / 499.7 MB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.4752, allocations: 39.98 kB / 499.7 MB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007207/0.4824, allocations: 7.395 MB / 0.4952 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.4824, allocations: 4.031 kB / 0.4952 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005744/0.4882, allocations: 3.654 MB / 0.4988 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/0.4894, allocations: 0.4979 MB / 0.4993 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005958/0.49, allocations: 36 kB / 0.4993 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.4914, allocations: 75.94 kB / 0.4994 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/0.4918, allocations: 121.1 kB / 0.4995 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.4919, allocations: 43.98 kB / 0.4995 GB, free: 14.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002899/0.4948, allocations: 1.569 MB / 0.5011 GB, free: 12.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4948, allocations: 4 kB / 0.5011 GB, free: 12.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002865/0.4977, allocations: 0.6797 MB / 0.5017 GB, free: 12.1 MB / 430.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.0004513/0.4981, allocations: 195.5 kB / 0.5019 GB, free: 11.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006419/0.5046, allocations: 2.925 MB / 0.5048 GB, free: 8.938 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.5046, allocations: 3.938 kB / 0.5048 GB, free: 8.934 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002506/0.5071, allocations: 1.48 MB / 0.5062 GB, free: 7.414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/0.5107, allocations: 0.6046 MB / 0.5068 GB, free: 6.816 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/0.5237, allocations: 7.019 MB / 0.5137 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003146/0.5269, allocations: 2.67 MB / 0.5163 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002194/0.5291, allocations: 0.5513 MB / 0.5168 GB, free: 12.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006145/0.5297, allocations: 167.4 kB / 0.517 GB, free: 12.35 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5297, allocations: 0 / 0.517 GB, free: 12.35 MB / 446.1 MB Notification: Performance of Templates: time 0.2183/0.748, allocations: 32.88 MB / 0.5491 GB, free: 135 MB / 446.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