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.001396/0.001396, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00168/0.00168, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 246.4 MB, free: 9.102 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 58.44 kB / 306.5 MB, free: 0.7344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08957/0.09076, allocations: 50.53 MB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.1877/0.2785, allocations: 17.05 MB / 374 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.2886, allocations: 5.604 MB / 379.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002885/0.2915, allocations: 104.1 kB / 379.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003393/0.2949, allocations: 1.11 MB / 380.9 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006767/0.3017, allocations: 1.423 MB / 382.3 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.3045, allocations: 0.9977 MB / 383.3 MB, free: 7.547 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005699/0.3102, allocations: 5.221 MB / 388.5 MB, free: 5.004 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004375/0.3146, allocations: 4.326 MB / 392.8 MB, free: 3.211 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003344/0.3179, allocations: 2.181 MB / 395 MB, free: 2.133 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004058/0.322, allocations: 2.625 MB / 397.6 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00166/0.3237, allocations: 0.6129 MB / 398.2 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.3266, allocations: 0.8703 MB / 399.1 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001939/0.3285, allocations: 1.416 MB / 400.5 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004084/0.3326, allocations: 2.648 MB / 403.2 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008177/0.3408, allocations: 8.064 MB / 411.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3408, allocations: 0 / 411.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3409, allocations: 0 / 411.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001703/0.341, allocations: 4 kB / 411.2 MB, free: 6.113 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.01339/0.3544, allocations: 5.407 MB / 416.6 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3545, allocations: 8.031 kB / 416.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005375/0.3599, allocations: 1.02 MB / 417.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005653/0.3655, allocations: 2.844 MB / 420.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.3658, allocations: 319 kB / 420.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006048/0.3664, allocations: 391.9 kB / 421.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008801/0.3752, allocations: 5.223 MB / 426.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-05/0.3753, allocations: 3.938 kB / 426.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003702/0.3757, allocations: 164 kB / 426.6 MB, free: 6.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/0.3759, allocations: 168 kB / 426.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007284/0.3831, allocations: 4.466 MB / 431.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02342/0.4066, allocations: 16.92 MB / 448.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00739/0.414, allocations: 8.702 MB / 456.9 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003532/0.4176, allocations: 1.999 MB / 458.9 MB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008763/0.4264, allocations: 5.805 MB / 464.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.4264, allocations: 47.88 kB / 464.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 3.457e-06/0.4264, allocations: 3.938 kB / 464.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=160): time 0.0121/0.4385, allocations: 6.319 MB / 471 MB, free: 8.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.4386, allocations: 72.66 kB / 471.1 MB, free: 8.195 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00329/0.4419, allocations: 2.339 MB / 473.4 MB, free: 5.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000144/0.4421, allocations: 53.7 kB / 473.5 MB, free: 5.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.4433, allocations: 1.86 MB / 475.4 MB, free: 3.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004495/0.4438, allocations: 0.5507 MB / 475.9 MB, free: 3.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005718/0.4444, allocations: 387.7 kB / 476.3 MB, free: 2.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.663e-05/0.4445, allocations: 313.1 kB / 476.6 MB, free: 2.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/0.4459, allocations: 0.8514 MB / 477.4 MB, free: 1.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.4478, allocations: 1.574 MB / 479 MB, free: 15.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003486/0.4513, allocations: 2.586 MB / 481.6 MB, free: 12.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.4513, allocations: 8 kB / 481.6 MB, free: 12.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004976/0.4563, allocations: 2.974 MB / 484.6 MB, free: 9.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.4564, allocations: 16 kB / 484.6 MB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/0.4564, allocations: 20 kB / 484.6 MB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004173/0.4568, allocations: 182.1 kB / 484.8 MB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/0.4588, allocations: 0.5304 MB / 485.3 MB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.4612, allocations: 2.433 MB / 487.8 MB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.4629, allocations: 111.9 kB / 487.9 MB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.4631, allocations: 99.98 kB / 488 MB, free: 6.418 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.001922/0.465, allocations: 1.2 MB / 489.2 MB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004132/0.4654, allocations: 245 kB / 489.4 MB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004238/0.4697, allocations: 2.539 MB / 491.9 MB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.4697, allocations: 23.98 kB / 492 MB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.4697, allocations: 4 kB / 492 MB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.4697, allocations: 7.969 kB / 492 MB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008512/0.4782, allocations: 5.943 MB / 497.9 MB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4783, allocations: 0 / 497.9 MB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.4795, allocations: 279.6 kB / 498.2 MB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009197/0.4804, allocations: 385 kB / 498.6 MB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.896e-05/0.4805, allocations: 39.98 kB / 498.6 MB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006805/0.4873, allocations: 7.435 MB / 0.4942 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4874, allocations: 4 kB / 0.4942 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005402/0.4928, allocations: 3.673 MB / 0.4978 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009886/0.4938, allocations: 0.4979 MB / 0.4983 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/0.4941, allocations: 39.94 kB / 0.4983 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.4952, allocations: 84.3 kB / 0.4984 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.4955, allocations: 109.2 kB / 0.4985 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.4956, allocations: 47.98 kB / 0.4985 GB, free: 15.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002202/0.4978, allocations: 1.588 MB / 0.5001 GB, free: 13.56 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4978, allocations: 3.938 kB / 0.5001 GB, free: 13.56 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002181/0.5, allocations: 0.6875 MB / 0.5008 GB, free: 12.87 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.0003427/0.5004, allocations: 191 kB / 0.5009 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005731/0.5061, allocations: 2.93 MB / 0.5038 GB, free: 9.711 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.5061, allocations: 0 / 0.5038 GB, free: 9.711 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002157/0.5083, allocations: 1.48 MB / 0.5052 GB, free: 8.191 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/0.5109, allocations: 0.606 MB / 0.5058 GB, free: 7.594 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/0.5237, allocations: 8.68 MB / 0.5143 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002344/0.5261, allocations: 2.681 MB / 0.5169 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002024/0.5281, allocations: 0.5474 MB / 0.5175 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/0.5285, allocations: 159.4 kB / 0.5176 GB, free: 11.46 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5286, allocations: 4 kB / 0.5176 GB, free: 11.46 MB / 446.1 MB Notification: Performance of Templates: time 0.1946/0.7231, allocations: 33 MB / 0.5499 GB, free: 134.9 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