Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_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.00103/0.00103, allocations: 197.3 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 226.5 MB / 244.3 MB, free: 6.586 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001061/0.001061, allocations: 98.25 kB / 296.4 MB, free: 6.789 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003505, allocations: 8 kB / 356.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2766, allocations: 51.29 MB / 407.5 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01172/0.2883, allocations: 15.17 MB / 422.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007138/0.2955, allocations: 5.255 MB / 427.9 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.2968, allocations: 95.62 kB / 428 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.2985, allocations: 0.9595 MB / 429 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.3008, allocations: 1.301 MB / 430.3 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.3022, allocations: 0.7361 MB / 431 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003371/0.3056, allocations: 5.04 MB / 436.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00275/0.3083, allocations: 2.733 MB / 438.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.3101, allocations: 1.576 MB / 440.4 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.312, allocations: 2.042 MB / 442.4 MB, free: 8.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003955/0.3124, allocations: 252 kB / 442.7 MB, free: 8.504 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.3135, allocations: 483.8 kB / 443.1 MB, free: 8.031 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007196/0.3142, allocations: 0.9691 MB / 444.1 MB, free: 7.059 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007205/0.3149, allocations: 0.9057 MB / 445 MB, free: 6.145 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005129/0.3201, allocations: 6.618 MB / 451.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3201, allocations: 0 / 451.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3201, allocations: 3.938 kB / 451.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001156/0.3202, allocations: 4 kB / 451.6 MB, free: 15.5 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.009552/0.3298, allocations: 4.62 MB / 456.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3298, allocations: 15.97 kB / 456.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004686/0.3345, allocations: 1.029 MB / 457.3 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004315/0.3389, allocations: 2.766 MB / 460.1 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.3391, allocations: 308.1 kB / 460.4 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000482/0.3396, allocations: 403.9 kB / 460.8 MB, free: 6.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007909/0.3475, allocations: 5.201 MB / 466 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-05/0.3476, allocations: 0 / 466 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003311/0.3479, allocations: 172 kB / 466.1 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.3481, allocations: 176 kB / 466.3 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006995/0.3551, allocations: 4.458 MB / 470.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0217/0.3768, allocations: 17.02 MB / 487.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00684/0.3837, allocations: 8.704 MB / 496.5 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003349/0.387, allocations: 2.023 MB / 498.5 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007949/0.395, allocations: 5.831 MB / 0.4925 GB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.3951, allocations: 55.81 kB / 0.4926 GB, free: 8.578 MB / 378.7 MB Notification: Performance of pre-optimization done (n=157): time 3.307e-06/0.3951, allocations: 0 / 0.4926 GB, free: 8.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.01272/0.4078, allocations: 6.405 MB / 0.4988 GB, free: 2.016 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.4079, allocations: 68.72 kB / 0.4989 GB, free: 1.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1887/0.5966, allocations: 2.301 MB / 0.5011 GB, free: 87.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003363/0.597, allocations: 53.05 kB / 0.5012 GB, free: 87.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001386/0.5983, allocations: 1.851 MB / 0.503 GB, free: 87.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004542/0.5988, allocations: 0.5497 MB / 0.5035 GB, free: 86.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.559e-05/0.5989, allocations: 44.28 kB / 0.5036 GB, free: 86.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.599, allocations: 386.3 kB / 0.5039 GB, free: 86.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.6006, allocations: 0.8706 MB / 0.5048 GB, free: 86.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.6023, allocations: 1.58 MB / 0.5063 GB, free: 84.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.6039, allocations: 1.142 MB / 0.5075 GB, free: 84.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.6039, allocations: 7.875 kB / 0.5075 GB, free: 84.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004232/0.6081, allocations: 2.99 MB / 0.5104 GB, free: 83.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.6082, allocations: 11.84 kB / 0.5104 GB, free: 83.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.6082, allocations: 23.59 kB / 0.5104 GB, free: 83.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004358/0.6086, allocations: 182.9 kB / 0.5106 GB, free: 83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.6105, allocations: 0.544 MB / 0.5111 GB, free: 82.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.6122, allocations: 2.269 MB / 0.5133 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.6139, allocations: 118.5 kB / 0.5135 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.6141, allocations: 104.4 kB / 0.5136 GB, free: 81.07 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 (266): * Single equations (assignments): 264 * 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.001742/0.6158, allocations: 1.188 MB / 0.5147 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/0.6161, allocations: 251 kB / 0.515 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003655/0.6198, allocations: 2.551 MB / 0.5174 GB, free: 79.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.6198, allocations: 14.44 kB / 0.5175 GB, free: 79.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.6198, allocations: 12.62 kB / 0.5175 GB, free: 79.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.6198, allocations: 12.77 kB / 0.5175 GB, free: 79.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007063/0.6269, allocations: 5.964 MB / 0.5233 GB, free: 76.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.6269, allocations: 10.69 kB / 0.5233 GB, free: 76.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.6281, allocations: 292.3 kB / 0.5236 GB, free: 76.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008779/0.6289, allocations: 375.8 kB / 0.524 GB, free: 75.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-05/0.6291, allocations: 39.64 kB / 0.524 GB, free: 75.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005469/0.6345, allocations: 6.814 MB / 0.5306 GB, free: 68.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6346, allocations: 7.938 kB / 0.5307 GB, free: 68.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005382/0.6399, allocations: 3.698 MB / 0.5343 GB, free: 65.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.6412, allocations: 0.5018 MB / 0.5348 GB, free: 64.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002905/0.6415, allocations: 36 kB / 0.5348 GB, free: 64.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.6426, allocations: 87.94 kB / 0.5349 GB, free: 64.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002624/0.6429, allocations: 121.1 kB / 0.535 GB, free: 64.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.493e-05/0.643, allocations: 44 kB / 0.535 GB, free: 64.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002193/0.6452, allocations: 1.561 MB / 0.5366 GB, free: 62.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6452, allocations: 0 / 0.5366 GB, free: 62.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002458/0.6476, allocations: 0.6944 MB / 0.5372 GB, free: 62.08 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 (129): * Single equations (assignments): 126 * 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.0003754/0.648, allocations: 177.6 kB / 0.5374 GB, free: 61.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003545/0.6516, allocations: 2.341 MB / 0.5397 GB, free: 59.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6516, allocations: 0 / 0.5397 GB, free: 59.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001998/0.6536, allocations: 1.495 MB / 0.5411 GB, free: 58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/0.6561, allocations: 0.5843 MB / 0.5417 GB, free: 57.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.6687, allocations: 8.369 MB / 0.5499 GB, free: 49.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002781/0.6716, allocations: 2.614 MB / 0.5524 GB, free: 46.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008935/0.6725, allocations: 179.4 kB / 0.5526 GB, free: 46.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6725, allocations: 0 / 0.5526 GB, free: 46.21 MB / 378.7 MB Notification: Performance of Templates: time 0.09808/0.7706, allocations: 95.31 MB / 0.6457 GB, free: 15 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches