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.002071/0.002076, allocations: 181.3 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001143, allocations: 91.48 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 3.077e-05/3.095e-05, allocations: 7.984 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3533, allocations: 47.57 MB / 362.4 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.5501, allocations: 121.7 MB / 484.1 MB, free: 12.52 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/0.5505, allocations: 79.95 kB / 484.1 MB, free: 12.44 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.268/1.818, allocations: 190.7 MB / 0.659 GB, free: 26.11 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.375e-06/1.818, allocations: 0 / 0.659 GB, free: 26.11 MB / 411.1 MB Notification: Performance of Transformations before backend: time 0.0009059/1.819, allocations: 207.7 kB / 0.6592 GB, free: 26.11 MB / 411.1 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.03488/1.854, allocations: 7.903 MB / 0.6669 GB, free: 24.15 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/1.854, allocations: 10.66 kB / 0.6669 GB, free: 24.15 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01603/1.87, allocations: 1.909 MB / 0.6688 GB, free: 23.65 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02675/1.897, allocations: 7.032 MB / 0.6757 GB, free: 22.67 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005822/1.898, allocations: 282.8 kB / 0.6759 GB, free: 22.67 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003402/1.901, allocations: 0.5098 MB / 0.6764 GB, free: 22.66 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02847/1.93, allocations: 8.219 MB / 0.6845 GB, free: 22.62 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03755/1.967, allocations: 9.665 MB / 0.6939 GB, free: 21.78 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005329/1.968, allocations: 10.88 kB / 0.6939 GB, free: 21.78 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002873/1.971, allocations: 5.594 kB / 0.6939 GB, free: 21.78 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006133/1.971, allocations: 369.4 kB / 0.6943 GB, free: 21.76 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1109/2.082, allocations: 34.41 MB / 0.7279 GB, free: 14.85 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0235/2.106, allocations: 16.62 MB / 0.7441 GB, free: 17.41 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007807/2.114, allocations: 3.245 MB / 0.7473 GB, free: 16.2 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0256/2.139, allocations: 9.291 MB / 0.7563 GB, free: 11.06 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.389e-05/2.139, allocations: 68.05 kB / 0.7564 GB, free: 10.99 MB / 427.1 MB Notification: Performance of pre-optimization done (n=298): time 6.692e-06/2.139, allocations: 0 / 0.7564 GB, free: 10.99 MB / 427.1 MB Notification: Performance of matching and sorting (n=350): time 0.04229/2.182, allocations: 12.13 MB / 0.7682 GB, free: 5.637 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/2.182, allocations: 85.55 kB / 0.7683 GB, free: 5.57 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00916/2.191, allocations: 3.152 MB / 0.7714 GB, free: 4.309 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008004/2.192, allocations: 28.73 kB / 0.7714 GB, free: 4.277 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004117/2.196, allocations: 3.677 MB / 0.775 GB, free: 1.379 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002144/2.198, allocations: 1.142 MB / 0.7761 GB, free: 488 kB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006816/2.199, allocations: 0 / 0.7761 GB, free: 488 kB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0004804/2.199, allocations: 491.1 kB / 0.7766 GB, free: 84 kB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00825/2.208, allocations: 1.794 MB / 0.7784 GB, free: 0 / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006841/2.215, allocations: 3.053 MB / 0.7813 GB, free: 13.45 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008584/2.223, allocations: 2.539 MB / 0.7838 GB, free: 12.43 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.659e-05/2.223, allocations: 21.48 kB / 0.7838 GB, free: 12.43 MB / 443.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.02412/2.248, allocations: 5.7 MB / 0.7894 GB, free: 10.37 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.634e-05/2.248, allocations: 29.58 kB / 0.7894 GB, free: 10.37 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/2.248, allocations: 46.41 kB / 0.7895 GB, free: 10.37 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00505/2.253, allocations: 0.7049 MB / 0.7902 GB, free: 10.13 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01202/2.265, allocations: 1.06 MB / 0.7912 GB, free: 9.855 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02705/2.292, allocations: 9.651 MB / 0.8006 GB, free: 428 kB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/2.302, allocations: 168.2 kB / 0.8008 GB, free: 296 kB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001367/2.304, allocations: 206.7 kB / 0.801 GB, free: 96 kB / 443.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (523): * Single equations (assignments): 515 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001727/2.306, allocations: 238.4 kB / 0.8012 GB, free: 15.92 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001767/2.307, allocations: 441.9 kB / 0.8016 GB, free: 15.49 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01854/2.326, allocations: 5.035 MB / 0.8066 GB, free: 11.21 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.585e-05/2.326, allocations: 34.75 kB / 0.8066 GB, free: 11.18 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.593e-05/2.326, allocations: 16 kB / 0.8066 GB, free: 11.16 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001059/2.326, allocations: 17.62 kB / 0.8066 GB, free: 11.16 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03894/2.365, allocations: 11.3 MB / 0.8176 GB, free: 1.93 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.978e-05/2.365, allocations: 4 kB / 0.8177 GB, free: 1.926 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005741/2.371, allocations: 0.6196 MB / 0.8183 GB, free: 1.441 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004108/2.375, allocations: 0.8742 MB / 0.8191 GB, free: 0.7188 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007771/2.376, allocations: 31.59 kB / 0.8191 GB, free: 0.6953 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.379/2.755, allocations: 13.46 MB / 0.8323 GB, free: 60.39 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/2.755, allocations: 10.86 kB / 0.8323 GB, free: 60.39 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02021/2.776, allocations: 7.958 MB / 0.8401 GB, free: 58.97 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003991/2.78, allocations: 0.8991 MB / 0.8409 GB, free: 58.88 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002163/2.782, allocations: 21.31 kB / 0.841 GB, free: 58.88 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005621/2.787, allocations: 158.9 kB / 0.8411 GB, free: 58.88 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001315/2.789, allocations: 274.9 kB / 0.8414 GB, free: 58.87 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000562/2.789, allocations: 99.19 kB / 0.8415 GB, free: 58.87 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.006418/2.796, allocations: 2.321 MB / 0.8437 GB, free: 58.69 MB / 459.1 MB Notification: Performance of sort global known variables: time 6.21e-07/2.796, allocations: 0 / 0.8437 GB, free: 58.69 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.00888/2.805, allocations: 1.333 MB / 0.845 GB, free: 58.69 MB / 459.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (273): * Single equations (assignments): 266 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,(4,93.8%) 33,(2,100.0%) 13,(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.001629/2.806, allocations: 0.508 MB / 0.8455 GB, free: 58.59 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.01302/2.82, allocations: 5.007 MB / 0.8504 GB, free: 57.82 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/2.82, allocations: 4.938 kB / 0.8504 GB, free: 57.82 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008275/2.828, allocations: 3.131 MB / 0.8535 GB, free: 57.18 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007276/2.835, allocations: 0.7551 MB / 0.8542 GB, free: 57.16 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03936/2.875, allocations: 11.82 MB / 0.8658 GB, free: 54.48 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009986/2.885, allocations: 5.097 MB / 0.8708 GB, free: 53.65 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002342/2.887, allocations: 326.4 kB / 0.8711 GB, free: 53.64 MB / 459.1 MB Notification: Performance of SimCode: time 1.303e-06/2.887, allocations: 3.906 kB / 0.8711 GB, free: 53.64 MB / 459.1 MB Notification: Performance of Templates: time 1.179/4.066, allocations: 313.8 MB / 1.177 GB, free: 93.98 MB / 491.1 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/jenkins1/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