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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|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") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 187 kB / 17.91 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.166/1.166, 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.0008973/0.0008972, allocations: 97.11 kB / 271.2 MB, free: 8.449 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008057/0.0008061, allocations: 39.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2107, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator): time 0.01833/0.2291, allocations: 23.71 MB / 397.5 MB, free: 25.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.2411, allocations: 7.04 MB / 404.6 MB, free: 18.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005903/0.2471, allocations: 119.6 kB / 404.7 MB, free: 18.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004944/0.2521, allocations: 1.352 MB / 406.1 MB, free: 17.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007995/0.2602, allocations: 2.048 MB / 408.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004308/0.2645, allocations: 1.336 MB / 409.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008321/0.2728, allocations: 7.871 MB / 417.3 MB, free: 5.887 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006085/0.2789, allocations: 4.55 MB / 421.9 MB, free: 1.258 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003842/0.2828, allocations: 2.666 MB / 424.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005389/0.2882, allocations: 3.58 MB / 428.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002075/0.2903, allocations: 0.5117 MB / 428.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004032/0.2944, allocations: 0.96 MB / 429.6 MB, free: 9.516 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00264/0.297, allocations: 1.76 MB / 431.3 MB, free: 7.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005981/0.303, allocations: 3.39 MB / 434.7 MB, free: 4.344 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.3165, allocations: 11.08 MB / 445.8 MB, free: 9.227 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.17e-05/0.3166, allocations: 4 kB / 445.8 MB, free: 9.223 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3166, allocations: 0 / 445.8 MB, free: 9.223 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005819/0.3172, allocations: 0 / 445.8 MB, free: 9.223 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02016/0.3374, allocations: 7.4 MB / 453.2 MB, free: 1.738 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3374, allocations: 8.031 kB / 453.2 MB, free: 1.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006786/0.3442, allocations: 1.223 MB / 454.4 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008436/0.3527, allocations: 3.682 MB / 458.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000432/0.3532, allocations: 443.9 kB / 458.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/0.3549, allocations: 0.5622 MB / 459.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/0.3708, allocations: 7.292 MB / 466.4 MB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002589/0.3712, allocations: 15.91 kB / 466.4 MB, free: 4.387 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001144/0.3723, allocations: 232 kB / 466.7 MB, free: 4.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002647/0.3726, allocations: 259.3 kB / 466.9 MB, free: 3.906 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.3839, allocations: 6.134 MB / 473 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04171/0.4256, allocations: 23.79 MB / 496.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1585/0.5842, allocations: 8.75 MB / 0.4937 GB, free: 97.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003979/0.5882, allocations: 2.383 MB / 0.4961 GB, free: 96.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01194/0.6002, allocations: 7.027 MB / 0.5029 GB, free: 93.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.6003, allocations: 59.5 kB / 0.503 GB, free: 93.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=238): time 4.559e-06/0.6003, allocations: 0.5312 kB / 0.503 GB, free: 93.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=282): time 0.02779/0.6281, allocations: 13.91 MB / 0.5166 GB, free: 87.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.6281, allocations: 85.19 kB / 0.5166 GB, free: 87.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003725/0.6319, allocations: 3.487 MB / 0.52 GB, free: 84.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.632, allocations: 73.7 kB / 0.5201 GB, free: 84.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009958/0.633, allocations: 2.682 MB / 0.5227 GB, free: 81.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004331/0.6335, allocations: 0.9651 MB / 0.5237 GB, free: 80.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007576/0.6342, allocations: 0.6333 MB / 0.5243 GB, free: 80.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.78e-05/0.6343, allocations: 305.1 kB / 0.5246 GB, free: 80.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.6362, allocations: 1.569 MB / 0.5261 GB, free: 78.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/0.6385, allocations: 2.763 MB / 0.5288 GB, free: 75.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004533/0.643, allocations: 4.631 MB / 0.5333 GB, free: 69.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.6431, allocations: 12 kB / 0.5333 GB, free: 69.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=471) (initialization): time 0.007384/0.6504, allocations: 5.525 MB / 0.5387 GB, free: 64.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.6505, allocations: 24 kB / 0.5388 GB, free: 64.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/0.6505, allocations: 36 kB / 0.5388 GB, free: 64.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.6518, allocations: 0.6856 MB / 0.5395 GB, free: 63.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/0.6545, allocations: 0.8703 MB / 0.5403 GB, free: 62.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006814/0.6613, allocations: 9.594 MB / 0.5497 GB, free: 52.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/0.664, allocations: 223.7 kB / 0.5499 GB, free: 52.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/0.6642, allocations: 168 kB / 0.5501 GB, free: 52.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (429): * Single equations (assignments): 419 * Array equations: 4 * 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 {(3,12,100.0%), (1,3,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002235/0.6665, allocations: 1.627 MB / 0.5516 GB, free: 50.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007707/0.6672, allocations: 387.3 kB / 0.552 GB, free: 50.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006498/0.6738, allocations: 4.551 MB / 0.5565 GB, free: 45.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.628e-05/0.6738, allocations: 39.92 kB / 0.5565 GB, free: 45.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.413e-05/0.6738, allocations: 8 kB / 0.5565 GB, free: 45.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/0.6739, allocations: 11.95 kB / 0.5565 GB, free: 45.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/0.688, allocations: 10.03 MB / 0.5663 GB, free: 35.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.6881, allocations: 12.03 kB / 0.5663 GB, free: 35.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/0.6899, allocations: 0.4995 MB / 0.5668 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/0.6915, allocations: 0.7519 MB / 0.5675 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/0.6917, allocations: 71.97 kB / 0.5676 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008892/0.7006, allocations: 13.04 MB / 0.5803 GB, free: 20.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.7007, allocations: 11.94 kB / 0.5804 GB, free: 20.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05478/0.7554, allocations: 42.4 MB / 0.6218 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/0.7576, allocations: 0.793 MB / 0.6225 GB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001017/0.7586, allocations: 60 kB / 0.6226 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002356/0.761, allocations: 167.7 kB / 0.6228 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005673/0.7616, allocations: 209.8 kB / 0.623 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002755/0.7619, allocations: 83.97 kB / 0.623 GB, free: 6.922 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004059/0.7659, allocations: 2.353 MB / 0.6253 GB, free: 4.586 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7659, allocations: 0 / 0.6253 GB, free: 4.586 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005408/0.7714, allocations: 1.513 MB / 0.6268 GB, free: 3.078 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * 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 (238): * Single equations (assignments): 228 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,13,100.0%), (1,5,100.0%), (1,8,100.0%), (3,12,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007049/0.7721, allocations: 279.8 kB / 0.6271 GB, free: 2.805 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007355/0.7794, allocations: 4.705 MB / 0.6317 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.7795, allocations: 4 kB / 0.6317 GB, free: 13.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004363/0.7838, allocations: 2.86 MB / 0.6345 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004639/0.7885, allocations: 0.8601 MB / 0.6353 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1714/0.9599, allocations: 15.73 MB / 0.6507 GB, free: 130.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005644/0.9656, allocations: 3.593 MB / 0.6542 GB, free: 129.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003147/0.9687, allocations: 0.8749 MB / 0.655 GB, free: 129.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00081/0.9696, allocations: 267.2 kB / 0.6553 GB, free: 129.5 MB / 426.7 MB Notification: Performance of SimCode: time 7.32e-07/0.9696, allocations: 2.531 kB / 0.6553 GB, free: 129.5 MB / 426.7 MB Notification: Performance of Templates: time 0.08561/1.055, allocations: 61.51 MB / 0.7154 GB, free: 81.29 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_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/SMEE_Generator.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches