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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 110.8 kB / 17.74 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 188.5 kB / 18.66 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 47.94 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2642, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01862/0.2829, allocations: 16.65 MB / 418.1 MB, free: 8.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01063/0.2936, allocations: 5.414 MB / 423.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00299/0.2966, allocations: 103.6 kB / 423.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004106/0.3007, allocations: 1.265 MB / 424.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005494/0.3063, allocations: 1.613 MB / 426.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003128/0.3094, allocations: 1.049 MB / 427.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007287/0.3168, allocations: 5.113 MB / 432.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007023/0.3238, allocations: 4.307 MB / 436.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003544/0.3274, allocations: 2.188 MB / 439.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004278/0.3317, allocations: 2.6 MB / 441.7 MB, free: 368 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001548/0.3332, allocations: 0.6133 MB / 442.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.3358, allocations: 0.8395 MB / 443.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001982/0.3378, allocations: 1.426 MB / 444.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004435/0.3423, allocations: 2.633 MB / 447.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.3523, allocations: 8.085 MB / 455.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.3524, allocations: 11.94 kB / 455.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3524, allocations: 0 / 455.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002535/0.3526, allocations: 3.938 kB / 455.3 MB, free: 2.707 MB / 366.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.01571/0.3684, allocations: 5.37 MB / 460.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3684, allocations: 15.89 kB / 460.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005665/0.3741, allocations: 0.9831 MB / 461.7 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006211/0.3803, allocations: 2.972 MB / 464.7 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000279/0.3806, allocations: 304.2 kB / 465 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001066/0.3817, allocations: 403.9 kB / 465.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01183/0.3935, allocations: 5.209 MB / 470.6 MB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001397/0.3937, allocations: 8 kB / 470.6 MB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008471/0.3946, allocations: 160 kB / 470.7 MB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001803/0.3948, allocations: 176 kB / 470.9 MB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009312/0.4041, allocations: 4.455 MB / 475.4 MB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0288/0.4329, allocations: 16.59 MB / 492 MB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007678/0.4406, allocations: 8.415 MB / 0.4886 GB, free: 3.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003051/0.4437, allocations: 1.698 MB / 0.4903 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008943/0.4527, allocations: 4.969 MB / 0.4952 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.4527, allocations: 55.81 kB / 0.4952 GB, free: 12.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.597e-06/0.4528, allocations: 0 / 0.4952 GB, free: 12.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01269/0.4655, allocations: 6.131 MB / 0.5012 GB, free: 6.699 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.4655, allocations: 72.72 kB / 0.5013 GB, free: 6.613 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004347/0.4699, allocations: 2.282 MB / 0.5035 GB, free: 4.305 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002428/0.4702, allocations: 53.7 kB / 0.5035 GB, free: 4.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.4716, allocations: 1.844 MB / 0.5053 GB, free: 2.375 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005994/0.4722, allocations: 0.5506 MB / 0.5059 GB, free: 1.816 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000679/0.4729, allocations: 391.7 kB / 0.5063 GB, free: 1.426 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.473, allocations: 305.1 kB / 0.5065 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.4745, allocations: 0.8514 MB / 0.5074 GB, free: 276 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.4764, allocations: 1.551 MB / 0.5089 GB, free: 14.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00354/0.48, allocations: 2.554 MB / 0.5114 GB, free: 11.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/0.48, allocations: 8 kB / 0.5114 GB, free: 11.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005154/0.4852, allocations: 2.888 MB / 0.5142 GB, free: 8.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.4853, allocations: 19.94 kB / 0.5142 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.915e-05/0.4853, allocations: 24 kB / 0.5143 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003446/0.4857, allocations: 121.7 kB / 0.5144 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/0.4877, allocations: 0.5383 MB / 0.5149 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.4895, allocations: 1.986 MB / 0.5168 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.4915, allocations: 119.8 kB / 0.517 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/0.4917, allocations: 95.98 kB / 0.517 GB, free: 5.551 MB / 446.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 (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.00245/0.4942, allocations: 1.192 MB / 0.5182 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006644/0.4948, allocations: 241 kB / 0.5184 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004514/0.4994, allocations: 2.448 MB / 0.5208 GB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.4994, allocations: 16 kB / 0.5208 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.995e-05/0.4994, allocations: 7.984 kB / 0.5209 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.4994, allocations: 7.984 kB / 0.5209 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.5102, allocations: 5.775 MB / 0.5265 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.5102, allocations: 4 kB / 0.5265 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.5115, allocations: 287.6 kB / 0.5268 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008438/0.5124, allocations: 320.9 kB / 0.5271 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/0.5125, allocations: 39.98 kB / 0.5271 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006589/0.5191, allocations: 6.961 MB / 0.5339 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.5192, allocations: 4 kB / 0.5339 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2442/0.7633, allocations: 3.561 MB / 0.5374 GB, free: 127.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/0.7651, allocations: 0.4895 MB / 0.5379 GB, free: 127.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004378/0.7655, allocations: 34.75 kB / 0.5379 GB, free: 127.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.7668, allocations: 82.39 kB / 0.538 GB, free: 127.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/0.7672, allocations: 114.7 kB / 0.5381 GB, free: 127.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.7673, allocations: 44.77 kB / 0.5381 GB, free: 127.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003106/0.7704, allocations: 1.552 MB / 0.5397 GB, free: 127.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7704, allocations: 0 / 0.5397 GB, free: 127.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002501/0.7729, allocations: 0.6687 MB / 0.5403 GB, free: 127.3 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 (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.0003655/0.7733, allocations: 176.6 kB / 0.5405 GB, free: 127.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003251/0.7766, allocations: 2.279 MB / 0.5427 GB, free: 126.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.7766, allocations: 3.906 kB / 0.5427 GB, free: 126.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.7784, allocations: 1.434 MB / 0.5441 GB, free: 125.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/0.7812, allocations: 0.6008 MB / 0.5447 GB, free: 125.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.7912, allocations: 6.834 MB / 0.5514 GB, free: 122.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/0.793, allocations: 2.606 MB / 0.5539 GB, free: 121.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007177/0.7937, allocations: 182.1 kB / 0.5541 GB, free: 121.1 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.7937, allocations: 0 / 0.5541 GB, free: 121.1 MB / 462.1 MB Notification: Performance of Templates: time 0.07766/0.8714, allocations: 95.62 MB / 0.6475 GB, free: 27.91 MB / 462.1 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/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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches