Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000829/0.0008288, allocations: 91.91 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 203.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002417/0.0002416, allocations: 4 kB / 307.8 MB, free: 0.7852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09797/0.09823, allocations: 51.52 MB / 359.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.1808/0.2791, allocations: 16.28 MB / 375.6 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.2898, allocations: 5.55 MB / 381.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003128/0.293, allocations: 97 kB / 381.2 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00358/0.2966, allocations: 1.1 MB / 382.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005247/0.3018, allocations: 1.428 MB / 383.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.3046, allocations: 1.001 MB / 384.7 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007669/0.3123, allocations: 5.402 MB / 390.1 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005309/0.3177, allocations: 3.629 MB / 393.8 MB, free: 3.863 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002791/0.3205, allocations: 1.612 MB / 395.4 MB, free: 3.168 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003432/0.3239, allocations: 2.134 MB / 397.5 MB, free: 2.234 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001032/0.325, allocations: 256.6 kB / 397.8 MB, free: 2.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.3273, allocations: 0.5008 MB / 398.3 MB, free: 2.109 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.3286, allocations: 0.9835 MB / 399.2 MB, free: 1.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002763/0.3314, allocations: 2.193 MB / 401.4 MB, free: 15.87 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006642/0.338, allocations: 7.615 MB / 409.1 MB, free: 9.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.338, allocations: 0 / 409.1 MB, free: 9.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.338, allocations: 0 / 409.1 MB, free: 9.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001255/0.3382, allocations: 0 / 409.1 MB, free: 9.453 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.01207/0.3502, allocations: 4.596 MB / 413.7 MB, free: 4.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.3503, allocations: 8.031 kB / 413.7 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00596/0.3563, allocations: 1.036 MB / 414.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00507/0.3614, allocations: 2.846 MB / 417.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002467/0.3616, allocations: 320.4 kB / 417.9 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006226/0.3623, allocations: 401.9 kB / 418.2 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008924/0.3712, allocations: 5.233 MB / 423.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.388e-05/0.3713, allocations: 8 kB / 423.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000372/0.3717, allocations: 163.2 kB / 423.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/0.3718, allocations: 176 kB / 423.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008282/0.3801, allocations: 4.494 MB / 428.3 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02887/0.409, allocations: 17.03 MB / 445.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00875/0.4178, allocations: 8.718 MB / 454.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004179/0.422, allocations: 2.037 MB / 456.1 MB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009236/0.4313, allocations: 5.817 MB / 461.9 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.4313, allocations: 51.86 kB / 462 MB, free: 2.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=157): time 2.956e-06/0.4314, allocations: 0 / 462 MB, free: 2.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=160): time 0.01372/0.4451, allocations: 6.423 MB / 468.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.4452, allocations: 68.66 kB / 468.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004189/0.4494, allocations: 2.339 MB / 470.8 MB, free: 9.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001579/0.4495, allocations: 53.7 kB / 470.8 MB, free: 9.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001559/0.4511, allocations: 1.863 MB / 472.7 MB, free: 7.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006339/0.4518, allocations: 0.55 MB / 473.3 MB, free: 7.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003361/0.4521, allocations: 178 kB / 473.4 MB, free: 6.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4522, allocations: 301.1 kB / 473.7 MB, free: 6.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/0.454, allocations: 0.8748 MB / 474.6 MB, free: 5.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/0.4561, allocations: 1.59 MB / 476.2 MB, free: 3.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004049/0.4602, allocations: 2.621 MB / 478.8 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.143e-05/0.4602, allocations: 4 kB / 478.8 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005524/0.4657, allocations: 3.008 MB / 481.8 MB, free: 13.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.4658, allocations: 16 kB / 481.8 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.574e-05/0.4658, allocations: 24 kB / 481.9 MB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004715/0.4663, allocations: 177.8 kB / 482 MB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/0.4683, allocations: 0.5383 MB / 482.6 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.4707, allocations: 2.264 MB / 484.8 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.4725, allocations: 119.7 kB / 485 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.4727, allocations: 104 kB / 485.1 MB, free: 10.51 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (266): * Single equations (assignments): 264 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002089/0.4748, allocations: 1.197 MB / 486.3 MB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005179/0.4754, allocations: 248.9 kB / 486.5 MB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00475/0.4801, allocations: 2.574 MB / 489.1 MB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.4801, allocations: 19.98 kB / 489.1 MB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.4802, allocations: 7.938 kB / 489.1 MB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.4802, allocations: 7.969 kB / 489.1 MB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.491, allocations: 5.965 MB / 495.1 MB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.4911, allocations: 0 / 495.1 MB, free: 340 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.4924, allocations: 303.8 kB / 495.4 MB, free: 36 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.4934, allocations: 376.5 kB / 495.7 MB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.4936, allocations: 40.17 kB / 495.8 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00713/0.5007, allocations: 6.833 MB / 0.4908 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.5008, allocations: 7.984 kB / 0.4908 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006319/0.5071, allocations: 3.711 MB / 0.4945 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/0.5085, allocations: 0.5134 MB / 0.495 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006301/0.5092, allocations: 32 kB / 0.495 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/0.5106, allocations: 91.94 kB / 0.4951 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/0.511, allocations: 121.1 kB / 0.4952 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.5111, allocations: 43.92 kB / 0.4952 GB, free: 3.777 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003087/0.5142, allocations: 1.592 MB / 0.4968 GB, free: 2.172 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5142, allocations: 0 / 0.4968 GB, free: 2.172 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002936/0.5171, allocations: 0.6836 MB / 0.4975 GB, free: 1.488 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (129): * Single equations (assignments): 126 * 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,8,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.0005142/0.5177, allocations: 182 kB / 0.4976 GB, free: 1.305 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004345/0.522, allocations: 2.354 MB / 0.4999 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.5221, allocations: 0 / 0.4999 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002548/0.5246, allocations: 1.495 MB / 0.5014 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004042/0.5287, allocations: 0.5712 MB / 0.5019 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/0.5427, allocations: 8.83 MB / 0.5106 GB, free: 3.945 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002847/0.5456, allocations: 2.677 MB / 0.5132 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002169/0.5477, allocations: 0.5512 MB / 0.5137 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006164/0.5484, allocations: 163.4 kB / 0.5139 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5484, allocations: 0 / 0.5139 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of Templates: time 0.2267/0.7751, allocations: 31.46 MB / 0.5446 GB, free: 132.9 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches