Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 113.3 kB / 17.28 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 189.3 kB / 18.19 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 224.1 MB, free: 12.43 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 44.16 kB / 280.2 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09966/0.1008, allocations: 46.63 MB / 326.8 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01777/0.1187, allocations: 16.38 MB / 343.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.131, allocations: 5.36 MB / 348.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003273/0.1344, allocations: 87.62 kB / 348.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00448/0.1389, allocations: 1.092 MB / 349.7 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007697/0.1466, allocations: 1.422 MB / 351.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00338/0.15, allocations: 0.9709 MB / 352.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008258/0.1583, allocations: 5.125 MB / 357.2 MB, free: 6.211 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005218/0.1636, allocations: 3.834 MB / 361.1 MB, free: 2.297 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0037/0.1673, allocations: 2.172 MB / 363.2 MB, free: 120 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004357/0.1717, allocations: 2.608 MB / 365.8 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001485/0.1732, allocations: 0.6094 MB / 366.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.1754, allocations: 0.8511 MB / 367.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001727/0.1771, allocations: 1.418 MB / 368.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004649/0.1818, allocations: 2.625 MB / 371.3 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1752/0.357, allocations: 7.996 MB / 379.3 MB, free: 24.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3571, allocations: 6.25 kB / 379.3 MB, free: 24.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3571, allocations: 0 / 379.3 MB, free: 24.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002326/0.3573, allocations: 0 / 379.3 MB, free: 24.35 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.01505/0.3724, allocations: 5.363 MB / 384.7 MB, free: 22.53 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3725, allocations: 8.75 kB / 384.7 MB, free: 22.53 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005883/0.3784, allocations: 0.9949 MB / 385.7 MB, free: 22.29 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006524/0.3849, allocations: 2.697 MB / 388.4 MB, free: 21.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003702/0.3853, allocations: 305.8 kB / 388.7 MB, free: 21.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00138/0.3867, allocations: 409.2 kB / 389.1 MB, free: 21.67 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/0.4013, allocations: 5.212 MB / 394.3 MB, free: 21.38 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002128/0.4015, allocations: 4.25 kB / 394.3 MB, free: 21.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001228/0.4028, allocations: 161.8 kB / 394.5 MB, free: 21.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002322/0.403, allocations: 174.5 kB / 394.6 MB, free: 21.37 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.4133, allocations: 4.447 MB / 399.1 MB, free: 19.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03045/0.4438, allocations: 16.83 MB / 415.9 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005884/0.4497, allocations: 8.42 MB / 424.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00294/0.4527, allocations: 1.715 MB / 426.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00956/0.4622, allocations: 5 MB / 431.1 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.4623, allocations: 43.88 kB / 431.1 MB, free: 7.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=156): time 4.328e-06/0.4624, allocations: 0 / 431.1 MB, free: 7.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=159): time 0.0141/0.4765, allocations: 6.12 MB / 437.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.4765, allocations: 72.72 kB / 437.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004167/0.4807, allocations: 2.315 MB / 439.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002832/0.481, allocations: 57.55 kB / 439.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00188/0.4829, allocations: 1.843 MB / 441.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008829/0.4838, allocations: 0.5441 MB / 442.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009665/0.4848, allocations: 391.7 kB / 442.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4849, allocations: 305.1 kB / 442.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/0.4868, allocations: 0.8436 MB / 443.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/0.4891, allocations: 1.558 MB / 445.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003652/0.4928, allocations: 2.56 MB / 447.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/0.4928, allocations: 8 kB / 447.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005459/0.4983, allocations: 2.89 MB / 450.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.4983, allocations: 19.38 kB / 450.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.851e-05/0.4984, allocations: 26.3 kB / 450.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003579/0.4988, allocations: 126 kB / 450.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.5007, allocations: 0.5481 MB / 451.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.5028, allocations: 1.989 MB / 453.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.5051, allocations: 115.7 kB / 453.4 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/0.5053, allocations: 96 kB / 453.5 MB, free: 364 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * 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 (269): * Single equations (assignments): 267 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002448/0.5078, allocations: 1.194 MB / 454.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007953/0.5086, allocations: 241.1 kB / 454.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004824/0.5134, allocations: 2.444 MB / 457.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.5134, allocations: 18.72 kB / 457.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/0.5135, allocations: 4 kB / 457.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.5135, allocations: 7.969 kB / 457.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.5268, allocations: 5.805 MB / 463.2 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.5268, allocations: 5.75 kB / 463.2 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.5281, allocations: 283.7 kB / 463.5 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009605/0.5291, allocations: 322.6 kB / 463.8 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/0.5292, allocations: 47.98 kB / 463.9 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007207/0.5365, allocations: 7.015 MB / 470.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.5365, allocations: 4.031 kB / 470.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006475/0.543, allocations: 3.552 MB / 474.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/0.5445, allocations: 0.494 MB / 474.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006933/0.5452, allocations: 39.98 kB / 475 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/0.5468, allocations: 83.94 kB / 475 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.5471, allocations: 120.6 kB / 475.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.5472, allocations: 43.98 kB / 475.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003236/0.5505, allocations: 1.568 MB / 476.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.5505, allocations: 0 / 476.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003097/0.5536, allocations: 0.6796 MB / 477.5 MB, free: 7.844 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (132): * Single equations (assignments): 129 * 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,5,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.0004774/0.5541, allocations: 169.9 kB / 477.6 MB, free: 7.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006318/0.5604, allocations: 2.894 MB / 480.5 MB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.5604, allocations: 2 kB / 480.5 MB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002345/0.5628, allocations: 1.454 MB / 482 MB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004367/0.5672, allocations: 0.5952 MB / 482.6 MB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/0.5848, allocations: 8.634 MB / 491.2 MB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004112/0.589, allocations: 2.669 MB / 493.9 MB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002709/0.5917, allocations: 0.5513 MB / 494.4 MB, free: 6.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008719/0.5926, allocations: 155.4 kB / 494.6 MB, free: 6.738 MB / 398.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5927, allocations: 0 / 494.6 MB, free: 6.738 MB / 398.1 MB Notification: Performance of Templates: time 0.06609/0.6588, allocations: 32.36 MB / 0.5146 GB, free: 6.422 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_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_DOL/SMEE_DOL.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches