Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001036/0.001036, allocations: 187 kB / 17.92 MB, free: 3.855 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.171/1.171, allocations: 205.1 MB / 223.7 MB, free: 8.484 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.0008859/0.0008859, allocations: 108.5 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000758/0.000758, allocations: 43.94 kB / 327.2 MB, free: 312 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2025, allocations: 46.61 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.02346/0.226, allocations: 28.96 MB / 402.8 MB, free: 20.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.2409, allocations: 8.02 MB / 410.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006222/0.2472, allocations: 163.4 kB / 411 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006179/0.2534, allocations: 1.652 MB / 412.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009194/0.2627, allocations: 2.367 MB / 415 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004619/0.2673, allocations: 1.628 MB / 416.6 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01411/0.2814, allocations: 10.8 MB / 427.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01179/0.2933, allocations: 7.978 MB / 435.4 MB, free: 3.652 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005663/0.299, allocations: 3.864 MB / 439.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007695/0.3067, allocations: 5.093 MB / 444.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00286/0.3096, allocations: 0.793 MB / 445.2 MB, free: 9.863 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004446/0.314, allocations: 1.163 MB / 446.3 MB, free: 8.699 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003544/0.3176, allocations: 2.414 MB / 448.7 MB, free: 6.277 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008573/0.3262, allocations: 5.035 MB / 453.8 MB, free: 1.219 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01926/0.3455, allocations: 16.95 MB / 470.7 MB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.3455, allocations: 0 / 470.7 MB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3455, allocations: 0 / 470.7 MB, free: 220 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007172/0.3463, allocations: 0 / 470.7 MB, free: 220 kB / 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.0303/0.3766, allocations: 10.94 MB / 481.7 MB, free: 5.172 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3766, allocations: 16.02 kB / 481.7 MB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.3876, allocations: 2.082 MB / 483.8 MB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01252/0.4001, allocations: 5.493 MB / 489.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007396/0.4009, allocations: 0.6504 MB / 489.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003229/0.4042, allocations: 0.8472 MB / 490.7 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02082/0.425, allocations: 11.44 MB / 0.4904 GB, free: 488 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/0.4252, allocations: 15.89 kB / 0.4904 GB, free: 472 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007421/0.4259, allocations: 356 kB / 0.4908 GB, free: 116 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2621/0.688, allocations: 372.9 kB / 0.4911 GB, free: 97.96 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01708/0.7051, allocations: 9.659 MB / 0.5006 GB, free: 94.77 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0451/0.7502, allocations: 35.84 MB / 0.5356 GB, free: 64.09 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/0.7607, allocations: 16.96 MB / 0.5521 GB, free: 45.32 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004041/0.7648, allocations: 3.52 MB / 0.5556 GB, free: 41.8 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01208/0.7769, allocations: 9.776 MB / 0.5651 GB, free: 31.81 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.7769, allocations: 72.84 kB / 0.5652 GB, free: 31.73 MB / 378.8 MB Notification: Performance of pre-optimization done (n=308): time 3.947e-06/0.7769, allocations: 0 / 0.5652 GB, free: 31.73 MB / 378.8 MB Notification: Performance of matching and sorting (n=360): time 0.02525/0.8022, allocations: 15.48 MB / 0.5803 GB, free: 16.04 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.8022, allocations: 90.22 kB / 0.5804 GB, free: 15.94 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004495/0.8067, allocations: 4.508 MB / 0.5848 GB, free: 11.43 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.8069, allocations: 89.7 kB / 0.5849 GB, free: 11.34 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001422/0.8083, allocations: 3.886 MB / 0.5887 GB, free: 7.426 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005771/0.8089, allocations: 1.227 MB / 0.5899 GB, free: 6.211 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009127/0.8099, allocations: 0.7885 MB / 0.5906 GB, free: 5.41 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.515e-05/0.8099, allocations: 301.1 kB / 0.5909 GB, free: 5.113 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002385/0.8123, allocations: 1.918 MB / 0.5928 GB, free: 3.188 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0031/0.8154, allocations: 3.386 MB / 0.5961 GB, free: 15.13 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007052/0.8225, allocations: 5.645 MB / 0.6016 GB, free: 8.816 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/0.8225, allocations: 16 kB / 0.6016 GB, free: 8.801 MB / 394.8 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01001/0.8325, allocations: 6.561 MB / 0.608 GB, free: 2.168 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.8326, allocations: 31.92 kB / 0.6081 GB, free: 2.137 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.284e-05/0.8326, allocations: 48 kB / 0.6081 GB, free: 2.09 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001809/0.8344, allocations: 0.7476 MB / 0.6088 GB, free: 1.328 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003512/0.8379, allocations: 1.065 MB / 0.6099 GB, free: 268 kB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00977/0.8477, allocations: 10.17 MB / 0.6198 GB, free: 5.566 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00374/0.8515, allocations: 247.5 kB / 0.62 GB, free: 5.328 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004288/0.8519, allocations: 204 kB / 0.6202 GB, free: 5.129 MB / 410.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 (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 4 systems {(2,13,100.0%), (1,5,100.0%), (2,13,100.0%), (3,14,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003928/0.8559, allocations: 2.542 MB / 0.6227 GB, free: 2.574 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009065/0.8568, allocations: 486.1 kB / 0.6232 GB, free: 2.094 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008653/0.8654, allocations: 5.448 MB / 0.6285 GB, free: 12.55 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/0.8655, allocations: 43.92 kB / 0.6285 GB, free: 12.51 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.8655, allocations: 15.94 kB / 0.6286 GB, free: 12.5 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/0.8655, allocations: 19.94 kB / 0.6286 GB, free: 12.48 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/0.8846, allocations: 12.96 MB / 0.6412 GB, free: 15.35 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.8847, allocations: 8.125 kB / 0.6412 GB, free: 15.34 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002421/0.8871, allocations: 0.6123 MB / 0.6418 GB, free: 14.73 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002159/0.8893, allocations: 0.9197 MB / 0.6427 GB, free: 13.8 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002226/0.8895, allocations: 83.97 kB / 0.6428 GB, free: 13.71 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1733/1.063, allocations: 14.11 MB / 0.6566 GB, free: 143.2 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.063, allocations: 7.531 kB / 0.6566 GB, free: 143.2 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06216/1.125, allocations: 47.54 MB / 0.703 GB, free: 116.5 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/1.127, allocations: 0.9776 MB / 0.704 GB, free: 115.6 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004708/1.127, allocations: 76 kB / 0.7041 GB, free: 115.5 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/1.129, allocations: 186.9 kB / 0.7042 GB, free: 115.4 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004867/1.13, allocations: 281.5 kB / 0.7045 GB, free: 115.2 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/1.13, allocations: 99.69 kB / 0.7046 GB, free: 115.1 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003324/1.133, allocations: 3.072 MB / 0.7076 GB, free: 112.2 MB / 442.8 MB Notification: Performance of sort global known variables: time 4.81e-07/1.133, allocations: 0 / 0.7076 GB, free: 112.2 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.004961/1.138, allocations: 1.979 MB / 0.7095 GB, free: 110.3 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,13,100.0%), (2,13,100.0%), (4,33,93.8%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004799/1.139, allocations: 251 kB / 0.7098 GB, free: 110 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.006952/1.146, allocations: 5.629 MB / 0.7153 GB, free: 104.3 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.146, allocations: 0 / 0.7153 GB, free: 104.3 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004346/1.15, allocations: 3.413 MB / 0.7186 GB, free: 100.8 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004792/1.155, allocations: 1.104 MB / 0.7197 GB, free: 99.77 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/1.18, allocations: 21.86 MB / 0.741 GB, free: 77.79 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004111/1.185, allocations: 5.174 MB / 0.7461 GB, free: 72.58 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003755/1.188, allocations: 1.076 MB / 0.7471 GB, free: 71.5 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000986/1.189, allocations: 335.3 kB / 0.7475 GB, free: 71.17 MB / 442.8 MB Notification: Performance of SimCode: time 4.6e-07/1.189, allocations: 0 / 0.7475 GB, free: 71.17 MB / 442.8 MB Notification: Performance of Templates: time 0.2445/1.434, allocations: 78.23 MB / 0.8239 GB, free: 145.9 MB / 458.8 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches