Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,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.stray.port_p.Phi.im|smee3.stator.stray.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.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,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.stray.port_p.Phi.im|smee3.stator.stray.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.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009715/0.0009713, allocations: 198 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.18/1.18, allocations: 227.2 MB / 245 MB, free: 5.75 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008368/0.0008369, allocations: 108.3 kB / 297.3 MB, free: 5.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002536/0.0002534, allocations: 8 kB / 358 MB, free: 9.262 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1903, allocations: 51.48 MB / 409.4 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3085/0.4988, allocations: 126.7 MB / 0.5236 GB, free: 48.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.4991, allocations: 103.8 kB / 0.5237 GB, free: 48.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6052/1.104, allocations: 200.2 MB / 0.7191 GB, free: 44.11 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.104, allocations: 0 / 0.7191 GB, free: 44.11 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005443/1.105, allocations: 211.2 kB / 0.7193 GB, free: 44.09 MB / 458.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.02442/1.129, allocations: 8.81 MB / 0.7279 GB, free: 40.98 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/1.129, allocations: 9.656 kB / 0.7279 GB, free: 40.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/1.14, allocations: 2.006 MB / 0.7299 GB, free: 40.47 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01604/1.156, allocations: 7.144 MB / 0.7369 GB, free: 39.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005338/1.157, allocations: 0.6451 MB / 0.7375 GB, free: 39.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002088/1.159, allocations: 0.8453 MB / 0.7383 GB, free: 39.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/1.176, allocations: 11.15 MB / 0.7492 GB, free: 38.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001456/1.176, allocations: 16.33 kB / 0.7492 GB, free: 38.51 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007426/1.177, allocations: 366.5 kB / 0.7496 GB, free: 38.51 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002207/1.177, allocations: 375.5 kB / 0.75 GB, free: 38.49 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01333/1.19, allocations: 9.106 MB / 0.7588 GB, free: 38.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04843/1.239, allocations: 36.09 MB / 0.7941 GB, free: 20.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/1.251, allocations: 18.22 MB / 0.8119 GB, free: 20.78 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01545/1.266, allocations: 10.43 MB / 0.8221 GB, free: 14.26 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/1.266, allocations: 68.19 kB / 0.8221 GB, free: 14.19 MB / 474.7 MB Notification: Performance of pre-optimization done (n=324): time 5.641e-06/1.267, allocations: 0 / 0.8221 GB, free: 14.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=378): time 0.0359/1.302, allocations: 16.19 MB / 0.8379 GB, free: 1.477 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/1.303, allocations: 94.36 kB / 0.838 GB, free: 1.371 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01232/1.315, allocations: 4.251 MB / 0.8422 GB, free: 15.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006406/1.316, allocations: 85.7 kB / 0.8423 GB, free: 14.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002837/1.318, allocations: 3.845 MB / 0.846 GB, free: 11.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001407/1.32, allocations: 1.285 MB / 0.8473 GB, free: 10.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004648/1.32, allocations: 92 kB / 0.8474 GB, free: 10.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003145/1.321, allocations: 490 kB / 0.8478 GB, free: 9.824 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003408/1.324, allocations: 1.959 MB / 0.8497 GB, free: 8.133 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004391/1.328, allocations: 3.362 MB / 0.853 GB, free: 4.465 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004227/1.333, allocations: 2.544 MB / 0.8555 GB, free: 2.113 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.874e-05/1.333, allocations: 12 kB / 0.8555 GB, free: 2.102 MB / 490.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.2523/1.585, allocations: 6.696 MB / 0.8621 GB, free: 69.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/1.585, allocations: 26.16 kB / 0.8621 GB, free: 69.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.748e-05/1.585, allocations: 48.92 kB / 0.8621 GB, free: 69.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/1.587, allocations: 0.733 MB / 0.8628 GB, free: 69.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003831/1.591, allocations: 1.083 MB / 0.8639 GB, free: 69.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008615/1.599, allocations: 10.35 MB / 0.874 GB, free: 64.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003728/1.603, allocations: 249.8 kB / 0.8743 GB, free: 64.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000315/1.603, allocations: 210.4 kB / 0.8745 GB, free: 64.07 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 201 * 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 (541): * Single equations (assignments): 533 * 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,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004167/1.607, allocations: 2.541 MB / 0.8769 GB, free: 63.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008161/1.608, allocations: 493.3 kB / 0.8774 GB, free: 63.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008286/1.617, allocations: 5.651 MB / 0.8829 GB, free: 63.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/1.617, allocations: 35.81 kB / 0.883 GB, free: 63.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/1.617, allocations: 16.39 kB / 0.883 GB, free: 63.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.663e-05/1.617, allocations: 20.91 kB / 0.883 GB, free: 63.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/1.635, allocations: 13.4 MB / 0.8961 GB, free: 62.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/1.635, allocations: 6.125 kB / 0.8961 GB, free: 62.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002538/1.637, allocations: 0.6523 MB / 0.8967 GB, free: 62.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/1.639, allocations: 0.8984 MB / 0.8976 GB, free: 62.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002203/1.639, allocations: 92.11 kB / 0.8977 GB, free: 62.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/1.651, allocations: 14.31 MB / 0.9117 GB, free: 55.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.651, allocations: 10.69 kB / 0.9117 GB, free: 55.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/1.662, allocations: 9.076 MB / 0.9205 GB, free: 53.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002301/1.664, allocations: 0.989 MB / 0.9215 GB, free: 53.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005749/1.665, allocations: 85.78 kB / 0.9216 GB, free: 53.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002144/1.667, allocations: 222.2 kB / 0.9218 GB, free: 53.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005311/1.668, allocations: 286.7 kB / 0.9221 GB, free: 53.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002083/1.668, allocations: 107.5 kB / 0.9222 GB, free: 53.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004049/1.672, allocations: 2.944 MB / 0.925 GB, free: 53 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.672, allocations: 0 / 0.925 GB, free: 53 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004271/1.676, allocations: 1.566 MB / 0.9266 GB, free: 52.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.stray.Phi.re,smeeM.stator.stray.Phi.im,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.stray.Phi.re,smee3.stator.stray.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 (300): * Single equations (assignments): 293 * 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.0008173/1.677, allocations: 0.6023 MB / 0.9272 GB, free: 52.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007495/1.685, allocations: 5.801 MB / 0.9328 GB, free: 50.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.685, allocations: 3.188 kB / 0.9328 GB, free: 50.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004386/1.689, allocations: 3.562 MB / 0.9363 GB, free: 48.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004227/1.693, allocations: 1.074 MB / 0.9374 GB, free: 48.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02661/1.72, allocations: 18.06 MB / 0.955 GB, free: 38.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006379/1.726, allocations: 5.236 MB / 0.9601 GB, free: 36.51 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004343/1.731, allocations: 1.076 MB / 0.9612 GB, free: 36.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008236/1.732, allocations: 329.1 kB / 0.9615 GB, free: 36.35 MB / 490.7 MB Notification: Performance of SimCode: time 1.263e-06/1.732, allocations: 2.188 kB / 0.9615 GB, free: 36.35 MB / 490.7 MB Notification: Performance of Templates: time 0.09825/1.83, allocations: 69.04 MB / 1.029 GB, free: 4.316 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMEE_Generator_Polyphase/SMEE_Generator_Polyphase.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches