Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009654/0.0009654, allocations: 180.8 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008708/0.0008708, allocations: 104.3 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002514/0.0002513, allocations: 11.94 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1902, allocations: 50.4 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09176/0.282, allocations: 85.83 MB / 487.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.2823, allocations: 81.77 kB / 487.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.228/0.5103, allocations: 31.51 MB / 0.5068 GB, free: 88.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5103, allocations: 0 / 0.5068 GB, free: 88.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.682e-05/0.5104, allocations: 37.83 kB / 0.5068 GB, free: 88.48 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003921/0.5144, allocations: 1.857 MB / 0.5086 GB, free: 87.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.5144, allocations: 11.16 kB / 0.5086 GB, free: 87.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.5157, allocations: 321.1 kB / 0.5089 GB, free: 87.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.5176, allocations: 1.086 MB / 0.51 GB, free: 87.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.806e-05/0.5177, allocations: 103.5 kB / 0.5101 GB, free: 87.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.5179, allocations: 132.3 kB / 0.5102 GB, free: 87.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/0.5203, allocations: 1.838 MB / 0.512 GB, free: 87.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.5203, allocations: 0 / 0.512 GB, free: 87.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.5204, allocations: 58.69 kB / 0.5121 GB, free: 87.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-05/0.5205, allocations: 47.88 kB / 0.5121 GB, free: 87.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.5226, allocations: 1.611 MB / 0.5137 GB, free: 87.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007115/0.5297, allocations: 5.58 MB / 0.5191 GB, free: 84.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/0.5319, allocations: 2.903 MB / 0.522 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001886/0.5338, allocations: 1.538 MB / 0.5235 GB, free: 81.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.5338, allocations: 42.41 kB / 0.5235 GB, free: 81.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 3.547e-06/0.5339, allocations: 0 / 0.5235 GB, free: 81.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.002571/0.5364, allocations: 1.431 MB / 0.5249 GB, free: 80.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.5365, allocations: 83.98 kB / 0.525 GB, free: 80.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000877/0.5373, allocations: 0.9216 MB / 0.5259 GB, free: 80.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.5374, allocations: 33.67 kB / 0.5259 GB, free: 80.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.5377, allocations: 0.6774 MB / 0.5266 GB, free: 79.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.2e-05/0.5378, allocations: 199.1 kB / 0.5268 GB, free: 79.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.5378, allocations: 14.84 kB / 0.5268 GB, free: 79.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.5379, allocations: 334.2 kB / 0.5271 GB, free: 79.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004605/0.5383, allocations: 363.2 kB / 0.5274 GB, free: 79.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000527/0.5389, allocations: 0.5268 MB / 0.528 GB, free: 78.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.5394, allocations: 448.3 kB / 0.5284 GB, free: 78.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.5394, allocations: 0 / 0.5284 GB, free: 78.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001277/0.5407, allocations: 1.025 MB / 0.5294 GB, free: 78.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5407, allocations: 7.969 kB / 0.5294 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5407, allocations: 3.469 kB / 0.5294 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.5408, allocations: 11.5 kB / 0.5294 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/0.5415, allocations: 189 kB / 0.5296 GB, free: 78.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.5415, allocations: 19.05 kB / 0.5296 GB, free: 78.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000509/0.542, allocations: 92.34 kB / 0.5297 GB, free: 78.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.5421, allocations: 29.28 kB / 0.5297 GB, free: 78.24 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006541/0.5427, allocations: 0.5216 MB / 0.5302 GB, free: 77.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.5429, allocations: 93.27 kB / 0.5303 GB, free: 77.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.5439, allocations: 0.7061 MB / 0.531 GB, free: 77.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.544, allocations: 8 kB / 0.531 GB, free: 77.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.544, allocations: 4 kB / 0.531 GB, free: 77.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.544, allocations: 3.234 kB / 0.531 GB, free: 77.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.5461, allocations: 1.665 MB / 0.5326 GB, free: 76.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.5461, allocations: 4 kB / 0.5327 GB, free: 76.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/0.5466, allocations: 96.95 kB / 0.5327 GB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003796/0.547, allocations: 157 kB / 0.5329 GB, free: 75.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.547, allocations: 15.52 kB / 0.5329 GB, free: 75.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002249/0.5493, allocations: 2.675 MB / 0.5355 GB, free: 73.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5493, allocations: 0 / 0.5355 GB, free: 73.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.5512, allocations: 1.564 MB / 0.537 GB, free: 71.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.5515, allocations: 183.4 kB / 0.5372 GB, free: 71.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.5517, allocations: 19.8 kB / 0.5372 GB, free: 71.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005457/0.5522, allocations: 64.88 kB / 0.5373 GB, free: 71.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.5523, allocations: 55.25 kB / 0.5374 GB, free: 71.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.5524, allocations: 19.7 kB / 0.5374 GB, free: 71.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007837/0.5532, allocations: 0.7218 MB / 0.5381 GB, free: 71.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5532, allocations: 4 kB / 0.5381 GB, free: 71.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00093/0.5541, allocations: 358.5 kB / 0.5384 GB, free: 70.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002199/0.5544, allocations: 156.9 kB / 0.5386 GB, free: 70.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.5555, allocations: 0.7907 MB / 0.5393 GB, free: 69.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5555, allocations: 8.375 kB / 0.5394 GB, free: 69.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008507/0.5563, allocations: 0.6047 MB / 0.5399 GB, free: 69.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007298/0.5571, allocations: 170.9 kB / 0.5401 GB, free: 69.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.5608, allocations: 3.314 MB / 0.5433 GB, free: 66.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008072/0.5616, allocations: 1.522 MB / 0.5448 GB, free: 64.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006187/0.5622, allocations: 235.6 kB / 0.5451 GB, free: 64.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.5624, allocations: 59.42 kB / 0.5451 GB, free: 64.55 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5624, allocations: 0 / 0.5451 GB, free: 64.55 MB / 378.7 MB Notification: Performance of Templates: time 0.01649/0.5789, allocations: 10.82 MB / 0.5557 GB, free: 54.04 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches