Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.strayReluctance.port_p.Phi.im|smee3.stator.strayReluctance.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.strayReluctance.port_p.Phi.im|smee3.stator.strayReluctance.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 179.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009179/0.0009179, allocations: 92.73 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004452/0.0004454, allocations: 8 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3057, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.02819/0.334, allocations: 25.87 MB / 400.4 MB, free: 22.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01925/0.3533, allocations: 7.63 MB / 408.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009736/0.3631, allocations: 167.3 kB / 408.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007471/0.3706, allocations: 1.386 MB / 409.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01293/0.3836, allocations: 2.181 MB / 411.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006043/0.3897, allocations: 1.167 MB / 413 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0143/0.404, allocations: 10.05 MB / 423 MB, free: 240 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01667/0.4207, allocations: 6.135 MB / 429.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008911/0.4297, allocations: 3.241 MB / 432.4 MB, free: 6.785 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009388/0.4392, allocations: 4.217 MB / 436.6 MB, free: 2.551 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003098/0.4423, allocations: 0.5391 MB / 437.2 MB, free: 2.012 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005918/0.4483, allocations: 0.8511 MB / 438 MB, free: 1.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004624/0.4529, allocations: 2.016 MB / 440 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005955/0.4589, allocations: 1.896 MB / 441.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02257/0.4815, allocations: 14.33 MB / 456.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/0.4816, allocations: 0 / 456.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.609e-06/0.4816, allocations: 0 / 456.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0008583/0.4825, allocations: 0 / 456.2 MB, free: 14.86 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.02968/0.5122, allocations: 9.305 MB / 465.6 MB, free: 5.449 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.5123, allocations: 8.031 kB / 465.6 MB, free: 5.441 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01331/0.5256, allocations: 2.096 MB / 467.7 MB, free: 3.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01452/0.5402, allocations: 5.366 MB / 473 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001016/0.5412, allocations: 0.6498 MB / 473.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0039/0.5452, allocations: 0.8475 MB / 474.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03364/0.5788, allocations: 11.4 MB / 485.9 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003301/0.5792, allocations: 15.89 kB / 485.9 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00198/0.5812, allocations: 352 kB / 486.3 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003724/0.5816, allocations: 381.5 kB / 486.7 MB, free: 184 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02102/0.6026, allocations: 9.653 MB / 496.3 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3989/1.002, allocations: 36.05 MB / 0.5199 GB, free: 76.04 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/1.013, allocations: 16.96 MB / 0.5364 GB, free: 60.19 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004752/1.018, allocations: 3.542 MB / 0.5399 GB, free: 57.31 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01293/1.031, allocations: 9.833 MB / 0.5495 GB, free: 47.33 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/1.031, allocations: 64.97 kB / 0.5496 GB, free: 47.26 MB / 378.8 MB Notification: Performance of pre-optimization done (n=308): time 5.441e-06/1.031, allocations: 0 / 0.5496 GB, free: 47.26 MB / 378.8 MB Notification: Performance of matching and sorting (n=360): time 0.03207/1.063, allocations: 15.84 MB / 0.565 GB, free: 31.21 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/1.063, allocations: 90.98 kB / 0.5651 GB, free: 31.11 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006534/1.069, allocations: 4.484 MB / 0.5695 GB, free: 26.62 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000666/1.07, allocations: 81.7 kB / 0.5696 GB, free: 26.53 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002059/1.072, allocations: 3.882 MB / 0.5734 GB, free: 22.62 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001199/1.073, allocations: 1.231 MB / 0.5746 GB, free: 21.4 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/1.074, allocations: 88 kB / 0.5747 GB, free: 21.32 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0002022/1.074, allocations: 488 kB / 0.5751 GB, free: 20.83 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002996/1.077, allocations: 1.934 MB / 0.577 GB, free: 18.89 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003506/1.08, allocations: 3.406 MB / 0.5803 GB, free: 14.82 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003363/1.084, allocations: 2.511 MB / 0.5828 GB, free: 12.29 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.995e-05/1.084, allocations: 20 kB / 0.5828 GB, free: 12.27 MB / 378.8 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01027/1.094, allocations: 6.6 MB / 0.5892 GB, free: 5.602 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/1.094, allocations: 24 kB / 0.5893 GB, free: 5.578 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.639e-05/1.094, allocations: 44 kB / 0.5893 GB, free: 5.535 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00184/1.096, allocations: 0.7581 MB / 0.5901 GB, free: 4.762 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003641/1.1, allocations: 1.092 MB / 0.5911 GB, free: 3.668 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009879/1.11, allocations: 10.16 MB / 0.601 GB, free: 8.988 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004593/1.114, allocations: 255.7 kB / 0.6013 GB, free: 8.742 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004741/1.115, allocations: 208 kB / 0.6015 GB, free: 8.539 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 526 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 13,(1,100.0%) 5,(2,100.0%) 13,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005609/1.12, allocations: 2.538 MB / 0.604 GB, free: 5.988 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001285/1.122, allocations: 497.9 kB / 0.6044 GB, free: 5.496 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009912/1.132, allocations: 5.494 MB / 0.6098 GB, free: 15.91 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.486e-05/1.132, allocations: 39.94 kB / 0.6098 GB, free: 15.87 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-05/1.132, allocations: 12 kB / 0.6099 GB, free: 15.86 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.645e-05/1.132, allocations: 27.81 kB / 0.6099 GB, free: 15.83 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02126/1.153, allocations: 13.01 MB / 0.6226 GB, free: 2.645 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/1.153, allocations: 8.094 kB / 0.6226 GB, free: 2.637 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002668/1.156, allocations: 0.628 MB / 0.6232 GB, free: 2.008 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002334/1.158, allocations: 0.9175 MB / 0.6241 GB, free: 1.074 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002266/1.158, allocations: 87.97 kB / 0.6242 GB, free: 0.9883 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/1.174, allocations: 14.11 MB / 0.638 GB, free: 2.223 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.174, allocations: 4 kB / 0.638 GB, free: 2.219 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/1.187, allocations: 8.112 MB / 0.6459 GB, free: 9.91 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002856/1.19, allocations: 0.987 MB / 0.6469 GB, free: 8.898 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001172/1.191, allocations: 79.98 kB / 0.6469 GB, free: 8.82 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002914/1.194, allocations: 215.9 kB / 0.6471 GB, free: 8.609 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006459/1.195, allocations: 274.3 kB / 0.6474 GB, free: 8.34 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002495/1.195, allocations: 104 kB / 0.6475 GB, free: 8.238 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.005724/1.201, allocations: 3.032 MB / 0.6505 GB, free: 5.211 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.5e-07/1.201, allocations: 0 / 0.6505 GB, free: 5.211 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.00742/1.208, allocations: 1.475 MB / 0.6519 GB, free: 3.738 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.strayReluctance.Phi.re,smee3.stator.strayReluctance.Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 277 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 13,(2,100.0%) 13,(4,93.8%) 33,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009285/1.209, allocations: 251.8 kB / 0.6521 GB, free: 3.488 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.2086/1.418, allocations: 5.687 MB / 0.6577 GB, free: 147.8 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/1.418, allocations: 3.312 kB / 0.6577 GB, free: 147.8 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005352/1.423, allocations: 3.448 MB / 0.6611 GB, free: 147.1 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007099/1.43, allocations: 1.115 MB / 0.6622 GB, free: 147 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03338/1.464, allocations: 17.91 MB / 0.6797 GB, free: 137.2 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004297/1.468, allocations: 4.953 MB / 0.6845 GB, free: 135.5 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/1.47, allocations: 358.7 kB / 0.6848 GB, free: 135.5 MB / 442.8 MB Notification: Performance of SimCode: time 1.482e-06/1.47, allocations: 0 / 0.6848 GB, free: 135.5 MB / 442.8 MB Notification: Performance of Templates: time 0.9075/2.377, allocations: 338.9 MB / 1.016 GB, free: 138.3 MB / 458.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_Generator_MultiPhase/SMEE_Generator_MultiPhase.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches