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.001834/0.001834, allocations: 111.9 kB / 17.74 MB, free: 5.359 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.002217/0.002217, allocations: 193.5 kB / 18.67 MB, free: 4.434 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.364/1.364, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009819/0.0009819, allocations: 51.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2719, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01708/0.289, allocations: 16.66 MB / 418.1 MB, free: 8.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.2997, allocations: 5.41 MB / 423.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003243/0.303, allocations: 103.6 kB / 423.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004058/0.3071, allocations: 1.25 MB / 424.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007134/0.3143, allocations: 1.619 MB / 426.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003411/0.3178, allocations: 1.04 MB / 427.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007721/0.3255, allocations: 5.112 MB / 432.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00646/0.332, allocations: 4.311 MB / 436.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003253/0.3353, allocations: 2.188 MB / 439.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004118/0.3394, allocations: 2.596 MB / 441.7 MB, free: 364 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001701/0.3411, allocations: 0.6133 MB / 442.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.3438, allocations: 0.8395 MB / 443.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001997/0.3458, allocations: 1.422 MB / 444.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004619/0.3504, allocations: 2.637 MB / 447.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.3604, allocations: 8.089 MB / 455.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3605, allocations: 4 kB / 455.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3605, allocations: 4 kB / 455.3 MB, free: 2.707 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000287/0.3608, allocations: 0 / 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.01559/0.3764, allocations: 5.37 MB / 460.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3765, allocations: 12.03 kB / 460.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005725/0.3822, allocations: 0.9909 MB / 461.7 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006915/0.3891, allocations: 2.964 MB / 464.7 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/0.3894, allocations: 308.2 kB / 465 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008768/0.3903, allocations: 399.9 kB / 465.3 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009554/0.3998, allocations: 5.209 MB / 470.6 MB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.404e-05/0.4, allocations: 8 kB / 470.6 MB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003824/0.4004, allocations: 167.9 kB / 470.7 MB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/0.4005, allocations: 176 kB / 470.9 MB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00814/0.4087, allocations: 4.458 MB / 475.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02945/0.4382, allocations: 16.58 MB / 491.9 MB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007479/0.4457, allocations: 8.415 MB / 0.4886 GB, free: 3.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002995/0.4487, allocations: 1.702 MB / 0.4903 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009093/0.4578, allocations: 4.965 MB / 0.4951 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.4579, allocations: 51.88 kB / 0.4952 GB, free: 12.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.407e-06/0.4579, allocations: 0 / 0.4952 GB, free: 12.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01245/0.4704, allocations: 6.135 MB / 0.5012 GB, free: 6.699 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.4705, allocations: 72.66 kB / 0.5012 GB, free: 6.613 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00436/0.4748, allocations: 2.282 MB / 0.5035 GB, free: 4.305 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.475, allocations: 53.64 kB / 0.5035 GB, free: 4.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.4764, allocations: 1.844 MB / 0.5053 GB, free: 2.375 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005392/0.4769, allocations: 0.5468 MB / 0.5059 GB, free: 1.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006473/0.4776, allocations: 395.7 kB / 0.5062 GB, free: 1.426 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.4777, allocations: 305.1 kB / 0.5065 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.4793, allocations: 0.8475 MB / 0.5074 GB, free: 280 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.4814, allocations: 1.551 MB / 0.5089 GB, free: 14.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003594/0.485, allocations: 2.554 MB / 0.5114 GB, free: 11.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.751e-05/0.485, allocations: 11.98 kB / 0.5114 GB, free: 11.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00517/0.4902, allocations: 2.888 MB / 0.5142 GB, free: 8.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/0.4903, allocations: 19.94 kB / 0.5142 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-05/0.4903, allocations: 24 kB / 0.5142 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003488/0.4907, allocations: 125.7 kB / 0.5144 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/0.4927, allocations: 0.5343 MB / 0.5149 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.4946, allocations: 1.99 MB / 0.5168 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.4966, allocations: 119.8 kB / 0.5169 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/0.4969, allocations: 92 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.002353/0.4992, allocations: 1.196 MB / 0.5182 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000726/0.5, allocations: 241 kB / 0.5184 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004608/0.5046, allocations: 2.444 MB / 0.5208 GB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.5046, allocations: 20 kB / 0.5208 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/0.5046, allocations: 4 kB / 0.5208 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.5047, allocations: 11.97 kB / 0.5208 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.5157, allocations: 5.779 MB / 0.5265 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.5158, allocations: 4 kB / 0.5265 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/0.5171, allocations: 283.6 kB / 0.5268 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008582/0.518, allocations: 317.2 kB / 0.5271 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.5182, allocations: 39.98 kB / 0.5271 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00662/0.5248, allocations: 6.97 MB / 0.5339 GB, free: 3.629 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5248, allocations: 4.031 kB / 0.5339 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2348/0.7596, allocations: 3.55 MB / 0.5374 GB, free: 127.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/0.7612, allocations: 498.4 kB / 0.5379 GB, free: 127.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004788/0.7617, allocations: 37.42 kB / 0.5379 GB, free: 127.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.763, allocations: 82.12 kB / 0.538 GB, free: 127.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003445/0.7634, allocations: 115 kB / 0.5381 GB, free: 127.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.7635, allocations: 45.62 kB / 0.5381 GB, free: 127.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003152/0.7666, allocations: 1.553 MB / 0.5396 GB, free: 127.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.7667, allocations: 0 / 0.5396 GB, free: 127.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002472/0.7691, allocations: 0.6688 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.0003713/0.7695, allocations: 180.1 kB / 0.5405 GB, free: 127.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003172/0.7727, allocations: 2.281 MB / 0.5427 GB, free: 126.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.7727, allocations: 3.938 kB / 0.5427 GB, free: 126.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.7745, allocations: 1.436 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.002526/0.777, allocations: 0.6003 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.01025/0.7873, allocations: 6.838 MB / 0.5514 GB, free: 122.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/0.7892, allocations: 2.602 MB / 0.5539 GB, free: 121.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007071/0.7899, allocations: 181.2 kB / 0.5541 GB, free: 121.1 MB / 462.1 MB Notification: Performance of SimCode: time 8.81e-07/0.7899, allocations: 0 / 0.5541 GB, free: 121.1 MB / 462.1 MB Notification: Performance of Templates: time 0.08571/0.8756, allocations: 96.12 MB / 0.6479 GB, free: 27.37 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