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.001158/0.001158, allocations: 95.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 208.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002087/0.0002088, allocations: 4 kB / 306.6 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09023/0.09045, allocations: 51.49 MB / 358.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01436/0.1049, allocations: 13.92 MB / 372 MB, free: 184 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1827/0.2876, allocations: 5.411 MB / 377.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002745/0.2904, allocations: 90.5 kB / 377.5 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003607/0.294, allocations: 0.9697 MB / 378.5 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005546/0.2996, allocations: 1.485 MB / 380 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.3021, allocations: 0.7373 MB / 380.7 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006099/0.3082, allocations: 3.467 MB / 384.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00334/0.3115, allocations: 2.738 MB / 386.9 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002839/0.3144, allocations: 1.55 MB / 388.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002696/0.3171, allocations: 1.874 MB / 390.3 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005155/0.3176, allocations: 249.8 kB / 390.6 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.3191, allocations: 459.8 kB / 391 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007675/0.3199, allocations: 0.9382 MB / 392 MB, free: 6.191 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.321, allocations: 0.905 MB / 392.9 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005119/0.3261, allocations: 6.589 MB / 399.4 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3261, allocations: 4 kB / 399.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3261, allocations: 1.062 kB / 399.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001588/0.3263, allocations: 0 / 399.5 MB, free: 0.8398 MB / 302.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.01152/0.3378, allocations: 4.616 MB / 404.1 MB, free: 13.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.3379, allocations: 8.844 kB / 404.1 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005908/0.3438, allocations: 1.035 MB / 405.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007574/0.3514, allocations: 2.787 MB / 407.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003814/0.3518, allocations: 304.1 kB / 408.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001302/0.3531, allocations: 399.9 kB / 408.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.3632, allocations: 5.174 MB / 413.8 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.878e-05/0.3634, allocations: 7.906 kB / 413.8 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003613/0.3637, allocations: 160 kB / 413.9 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/0.3639, allocations: 176 kB / 414.1 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008209/0.3721, allocations: 4.462 MB / 418.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02759/0.3997, allocations: 16.98 MB / 435.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007747/0.4075, allocations: 8.709 MB / 444.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00847/0.416, allocations: 4.808 MB / 449.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.4161, allocations: 47.88 kB / 449.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=165): time 5.671e-06/0.4161, allocations: 0 / 449.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=169): time 0.01261/0.4287, allocations: 6.437 MB / 455.5 MB, free: 8.953 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.4288, allocations: 69.41 kB / 455.6 MB, free: 8.875 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003376/0.4322, allocations: 2.279 MB / 457.9 MB, free: 6.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002482/0.4325, allocations: 53.7 kB / 457.9 MB, free: 6.512 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.4337, allocations: 1.833 MB / 459.8 MB, free: 4.656 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005418/0.4342, allocations: 0.5854 MB / 460.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.4343, allocations: 44 kB / 460.4 MB, free: 4.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.4345, allocations: 386.3 kB / 460.8 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.4361, allocations: 0.8827 MB / 461.7 MB, free: 2.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/0.438, allocations: 1.564 MB / 463.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.4398, allocations: 1.154 MB / 464.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.4398, allocations: 8 kB / 464.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.00484/0.4447, allocations: 2.942 MB / 467.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.4447, allocations: 12 kB / 467.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/0.4448, allocations: 27.94 kB / 467.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/0.4451, allocations: 130.2 kB / 467.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002038/0.4471, allocations: 0.5577 MB / 468.1 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.4488, allocations: 1.857 MB / 469.9 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.4507, allocations: 115.9 kB / 470 MB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/0.4509, allocations: 106.4 kB / 470.1 MB, free: 9.797 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (274): * Single equations (assignments): 272 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002136/0.4531, allocations: 1.192 MB / 471.3 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004432/0.4535, allocations: 245 kB / 471.6 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/0.4579, allocations: 2.593 MB / 474.2 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.458, allocations: 16 kB / 474.2 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.458, allocations: 7.938 kB / 474.2 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.458, allocations: 11.95 kB / 474.2 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/0.4683, allocations: 6.017 MB / 480.2 MB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.4683, allocations: 4.281 kB / 480.2 MB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.4696, allocations: 315.6 kB / 480.5 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008079/0.4705, allocations: 314.2 kB / 480.8 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.4706, allocations: 47.98 kB / 480.9 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00599/0.4766, allocations: 6.438 MB / 487.3 MB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4766, allocations: 6.406 kB / 487.3 MB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005804/0.4824, allocations: 3.909 MB / 491.2 MB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/0.4837, allocations: 0.5096 MB / 491.7 MB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/0.4841, allocations: 36 kB / 491.8 MB, free: 3.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.4853, allocations: 95.92 kB / 491.9 MB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/0.4856, allocations: 121.1 kB / 492 MB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.4857, allocations: 47.98 kB / 492 MB, free: 3.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002481/0.4882, allocations: 1.549 MB / 493.6 MB, free: 1.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4882, allocations: 0 / 493.6 MB, free: 1.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00264/0.4908, allocations: 0.6836 MB / 494.3 MB, free: 0.8594 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (141): * Single equations (assignments): 138 * 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%) 5,(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.0004059/0.4913, allocations: 203 kB / 494.5 MB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003726/0.495, allocations: 2.348 MB / 496.8 MB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.495, allocations: 0 / 496.8 MB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002183/0.4972, allocations: 1.506 MB / 498.3 MB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.4998, allocations: 0.5659 MB / 498.9 MB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/0.5135, allocations: 8.404 MB / 0.4954 GB, free: 3.715 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002621/0.5161, allocations: 2.751 MB / 0.4981 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002194/0.5183, allocations: 0.563 MB / 0.4986 GB, free: 384 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/0.5188, allocations: 163.4 kB / 0.4988 GB, free: 220 kB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5188, allocations: 0 / 0.4988 GB, free: 220 kB / 414.1 MB Notification: Performance of Templates: time 0.05199/0.5708, allocations: 30.48 MB / 0.5285 GB, free: 2.051 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","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches