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.00141/0.00141, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00158/0.00158, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 58.83 kB / 308.4 MB, free: 15.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09083/0.09188, allocations: 50.52 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.1665/0.2584, allocations: 17.28 MB / 376.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009707/0.2682, allocations: 5.715 MB / 381.9 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002944/0.2712, allocations: 104.2 kB / 382 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003835/0.275, allocations: 1.262 MB / 383.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005285/0.2804, allocations: 1.591 MB / 384.8 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.2831, allocations: 1.095 MB / 385.9 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007122/0.2903, allocations: 5.224 MB / 391.2 MB, free: 4.934 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005634/0.2959, allocations: 4.316 MB / 395.5 MB, free: 3.074 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003585/0.2996, allocations: 2.186 MB / 397.7 MB, free: 1.961 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004467/0.304, allocations: 2.629 MB / 400.3 MB, free: 440 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001624/0.3057, allocations: 0.6133 MB / 400.9 MB, free: 440 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.3087, allocations: 0.8592 MB / 401.8 MB, free: 312 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.3103, allocations: 1.418 MB / 403.2 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006506/0.3169, allocations: 2.648 MB / 405.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.3271, allocations: 8.121 MB / 414 MB, free: 4.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.3271, allocations: 3.984 kB / 414 MB, free: 4.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3271, allocations: 0 / 414 MB, free: 4.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002269/0.3274, allocations: 4 kB / 414 MB, free: 4.738 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.01519/0.3426, allocations: 5.417 MB / 419.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.3427, allocations: 8.031 kB / 419.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005482/0.3481, allocations: 1.026 MB / 420.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006568/0.3547, allocations: 2.995 MB / 423.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002597/0.355, allocations: 300.5 kB / 423.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009708/0.356, allocations: 403.8 kB / 424.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009944/0.366, allocations: 5.213 MB / 429.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-05/0.3661, allocations: 3.938 kB / 429.3 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00038/0.3665, allocations: 172 kB / 429.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001567/0.3666, allocations: 176 kB / 429.7 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008581/0.3752, allocations: 4.455 MB / 434.1 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0282/0.4035, allocations: 16.68 MB / 450.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007741/0.4112, allocations: 8.697 MB / 459.5 MB, free: 5.383 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003505/0.4148, allocations: 1.988 MB / 461.5 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008616/0.4234, allocations: 5.753 MB / 467.2 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.4235, allocations: 59.81 kB / 467.3 MB, free: 13.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 3.436e-06/0.4235, allocations: 0 / 467.3 MB, free: 13.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=160): time 0.01182/0.4353, allocations: 6.291 MB / 473.6 MB, free: 6.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.4354, allocations: 80.59 kB / 473.7 MB, free: 6.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003315/0.4387, allocations: 2.315 MB / 476 MB, free: 4.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001996/0.4389, allocations: 49.7 kB / 476 MB, free: 4.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001282/0.4402, allocations: 1.868 MB / 477.9 MB, free: 2.414 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004916/0.4407, allocations: 0.5391 MB / 478.4 MB, free: 1.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005867/0.4413, allocations: 399.6 kB / 478.8 MB, free: 1.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.4414, allocations: 301.1 kB / 479.1 MB, free: 1.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.4428, allocations: 0.8553 MB / 480 MB, free: 320 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.4447, allocations: 1.575 MB / 481.5 MB, free: 14.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00329/0.448, allocations: 2.57 MB / 484.1 MB, free: 11.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.448, allocations: 8 kB / 484.1 MB, free: 11.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004737/0.4527, allocations: 2.978 MB / 487.1 MB, free: 8.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.4528, allocations: 12.53 kB / 487.1 MB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/0.4528, allocations: 24 kB / 487.1 MB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004166/0.4532, allocations: 177.6 kB / 487.3 MB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.4552, allocations: 0.5304 MB / 487.8 MB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.4574, allocations: 2.426 MB / 490.3 MB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.4592, allocations: 120 kB / 490.4 MB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.4594, allocations: 95.98 kB / 490.5 MB, free: 4.973 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.001957/0.4613, allocations: 1.207 MB / 491.7 MB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004672/0.4618, allocations: 245 kB / 491.9 MB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004261/0.4661, allocations: 2.527 MB / 494.4 MB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.4661, allocations: 16 kB / 494.5 MB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.4661, allocations: 4 kB / 494.5 MB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.4661, allocations: 7.969 kB / 494.5 MB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009518/0.4757, allocations: 5.909 MB / 0.4887 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.4757, allocations: 4 kB / 0.4887 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.4769, allocations: 279.6 kB / 0.4889 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000892/0.4779, allocations: 369.1 kB / 0.4893 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.478, allocations: 35.98 kB / 0.4893 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006824/0.4848, allocations: 7.379 MB / 0.4965 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4848, allocations: 4.031 kB / 0.4965 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005508/0.4903, allocations: 3.663 MB / 0.5001 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/0.4916, allocations: 0.4901 MB / 0.5006 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002897/0.4919, allocations: 40 kB / 0.5006 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.4929, allocations: 79.88 kB / 0.5007 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002621/0.4932, allocations: 113.1 kB / 0.5008 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-05/0.4933, allocations: 51.98 kB / 0.5008 GB, free: 13.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002209/0.4955, allocations: 1.565 MB / 0.5024 GB, free: 12.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4955, allocations: 0 / 0.5024 GB, free: 12.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002086/0.4976, allocations: 0.6796 MB / 0.503 GB, free: 11.59 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.000337/0.498, allocations: 179 kB / 0.5032 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00359/0.5016, allocations: 2.317 MB / 0.5055 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.5016, allocations: 4.188 kB / 0.5055 GB, free: 9.047 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002173/0.5038, allocations: 1.48 MB / 0.5069 GB, free: 7.527 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.5062, allocations: 0.6076 MB / 0.5075 GB, free: 6.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.5176, allocations: 6.923 MB / 0.5143 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002535/0.5201, allocations: 2.67 MB / 0.5169 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001821/0.522, allocations: 0.5552 MB / 0.5174 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004466/0.5224, allocations: 167.4 kB / 0.5176 GB, free: 12.55 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5225, allocations: 0 / 0.5176 GB, free: 12.55 MB / 446.1 MB Notification: Performance of Templates: time 0.2086/0.7311, allocations: 30.62 MB / 0.5475 GB, free: 136.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 -s gbode -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/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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches