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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 204.2 kB / 8.537 MB, free: 484 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 225.5 MB / 234.4 MB, free: 9.453 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00101/0.00101, allocations: 102.9 kB / 286.3 MB, free: 5.82 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 9.638e-06/9.669e-06, allocations: 4 kB / 343.2 MB, free: 12.98 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2296, allocations: 51.45 MB / 394.6 MB, free: 47.41 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.3686, allocations: 125.9 MB / 0.5083 GB, free: 13.87 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.3689, allocations: 103.9 kB / 0.5084 GB, free: 13.77 MB / 402.8 MB Notification: Performance of FrontEnd: time 0.7259/1.095, allocations: 197.8 MB / 0.7016 GB, free: 27.67 MB / 434.8 MB Notification: Performance of Transformations before backend: time 0.00065/1.095, allocations: 202.6 kB / 0.7018 GB, free: 27.67 MB / 434.8 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.02312/1.119, allocations: 8.039 MB / 0.7097 GB, free: 25.47 MB / 434.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.119, allocations: 8.75 kB / 0.7097 GB, free: 25.47 MB / 434.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/1.131, allocations: 2.034 MB / 0.7117 GB, free: 24.97 MB / 434.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01734/1.149, allocations: 7.14 MB / 0.7186 GB, free: 23.98 MB / 434.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004233/1.149, allocations: 280 kB / 0.7189 GB, free: 23.98 MB / 434.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002715/1.152, allocations: 0.5044 MB / 0.7194 GB, free: 23.97 MB / 434.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01758/1.169, allocations: 8.376 MB / 0.7276 GB, free: 23.93 MB / 434.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0223/1.192, allocations: 9.76 MB / 0.7371 GB, free: 23.09 MB / 434.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002415/1.192, allocations: 8.969 kB / 0.7371 GB, free: 23.08 MB / 434.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001087/1.193, allocations: 7.062 kB / 0.7371 GB, free: 23.08 MB / 434.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002223/1.193, allocations: 375.3 kB / 0.7375 GB, free: 23.06 MB / 434.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05568/1.249, allocations: 34.78 MB / 0.7714 GB, free: 15.94 MB / 434.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003586/1.253, allocations: 2.48 MB / 0.7739 GB, free: 15.92 MB / 434.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005272/1.258, allocations: 3.619 MB / 0.7774 GB, free: 15.84 MB / 434.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01904/1.277, allocations: 11.25 MB / 0.7884 GB, free: 9.078 MB / 434.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/1.277, allocations: 75.22 kB / 0.7885 GB, free: 9.012 MB / 434.8 MB Notification: Performance of pre-optimization done (n=371): time 5.74e-06/1.277, allocations: 0 / 0.7885 GB, free: 9.012 MB / 434.8 MB Notification: Performance of matching and sorting (n=425): time 0.02645/1.303, allocations: 12.88 MB / 0.801 GB, free: 3.305 MB / 434.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/1.303, allocations: 99.05 kB / 0.8011 GB, free: 3.234 MB / 434.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005195/1.309, allocations: 3.211 MB / 0.8043 GB, free: 1.957 MB / 434.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004492/1.309, allocations: 25.7 kB / 0.8043 GB, free: 1.926 MB / 434.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001307/1.31, allocations: 3.128 MB / 0.8073 GB, free: 15.68 MB / 450.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001319/1.312, allocations: 1.373 MB / 0.8087 GB, free: 14.59 MB / 450.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/1.312, allocations: 3.281 kB / 0.8087 GB, free: 14.59 MB / 450.8 MB Notification: Performance of setup shared object (initialization): time 0.0002714/1.312, allocations: 0.4932 MB / 0.8092 GB, free: 14.2 MB / 450.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002821/1.315, allocations: 1.98 MB / 0.8111 GB, free: 13.36 MB / 450.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003695/1.319, allocations: 3.403 MB / 0.8144 GB, free: 10.7 MB / 450.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005485/1.324, allocations: 2.705 MB / 0.8171 GB, free: 9.59 MB / 450.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.716e-05/1.324, allocations: 15.22 kB / 0.8171 GB, free: 9.59 MB / 450.8 MB Notification: Performance of matching and sorting (n=647) (initialization): time 0.02088/1.345, allocations: 6.483 MB / 0.8234 GB, free: 7.215 MB / 450.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/1.345, allocations: 13.98 kB / 0.8234 GB, free: 7.215 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/1.346, allocations: 48 kB / 0.8235 GB, free: 7.211 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003099/1.349, allocations: 0.7153 MB / 0.8242 GB, free: 6.965 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008028/1.357, allocations: 1.17 MB / 0.8253 GB, free: 6.738 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.016/1.373, allocations: 9.443 MB / 0.8345 GB, free: 13.52 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006816/1.38, allocations: 163.8 kB / 0.8347 GB, free: 13.39 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/1.381, allocations: 222.4 kB / 0.8349 GB, free: 13.18 MB / 466.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (594): * Single equations (assignments): 586 * 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,(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001356/1.382, allocations: 248.5 kB / 0.8351 GB, free: 13.01 MB / 466.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002166/1.384, allocations: 466.3 kB / 0.8356 GB, free: 12.55 MB / 466.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01697/1.401, allocations: 5.729 MB / 0.8412 GB, free: 7.617 MB / 466.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.724e-05/1.401, allocations: 40 kB / 0.8412 GB, free: 7.578 MB / 466.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.342e-05/1.401, allocations: 12 kB / 0.8412 GB, free: 7.566 MB / 466.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.945e-05/1.402, allocations: 21.19 kB / 0.8412 GB, free: 7.566 MB / 466.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03539/1.437, allocations: 13.13 MB / 0.8541 GB, free: 13.16 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/1.437, allocations: 7.094 kB / 0.8541 GB, free: 13.15 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003882/1.441, allocations: 0.73 MB / 0.8548 GB, free: 12.57 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002987/1.444, allocations: 0.8927 MB / 0.8557 GB, free: 11.82 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005623/1.445, allocations: 35.73 kB / 0.8557 GB, free: 11.8 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01744/1.462, allocations: 13.09 MB / 0.8685 GB, free: 15.1 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/1.462, allocations: 5.781 kB / 0.8685 GB, free: 15.1 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01473/1.477, allocations: 9.052 MB / 0.8773 GB, free: 6.539 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002968/1.48, allocations: 1.001 MB / 0.8783 GB, free: 5.621 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009626/1.481, allocations: 16 kB / 0.8783 GB, free: 5.605 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002557/1.483, allocations: 154.4 kB / 0.8785 GB, free: 5.488 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004736/1.484, allocations: 245.9 kB / 0.8787 GB, free: 5.344 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002767/1.484, allocations: 113.6 kB / 0.8788 GB, free: 5.242 MB / 498.8 MB Notification: Performance of sort global known variables: time 0.003856/1.488, allocations: 2.367 MB / 0.8811 GB, free: 3.117 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.006017/1.494, allocations: 1.387 MB / 0.8825 GB, free: 1.734 MB / 498.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (346): * Single equations (assignments): 339 * 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.001198/1.495, allocations: 0.5496 MB / 0.883 GB, free: 1.324 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.1507/1.646, allocations: 5.768 MB / 0.8886 GB, free: 118.6 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.646, allocations: 3.062 kB / 0.8886 GB, free: 118.6 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004908/1.651, allocations: 3.348 MB / 0.8919 GB, free: 118 MB / 498.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004681/1.656, allocations: 0.7477 MB / 0.8926 GB, free: 118 MB / 498.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02646/1.682, allocations: 12.39 MB / 0.9047 GB, free: 115.5 MB / 498.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006504/1.689, allocations: 5.545 MB / 0.9101 GB, free: 114.7 MB / 498.8 MB Notification: Performance of SimCode: time 1.543e-06/1.689, allocations: 3.938 kB / 0.9102 GB, free: 114.7 MB / 498.8 MB Notification: Performance of Templates: time 0.1096/1.798, allocations: 65.87 MB / 0.9745 GB, free: 111.4 MB / 498.8 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