Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008657/0.0008657, allocations: 182.6 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.4 MB / 224.2 MB, free: 9.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007439/0.0007439, allocations: 90.36 kB / 272.5 MB, free: 8.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003001, allocations: 8 kB / 329.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2034, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09916/0.3026, allocations: 84.83 MB / 461.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.3029, allocations: 87.95 kB / 461.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07573/0.3786, allocations: 30.84 MB / 492.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3787, allocations: 0 / 492.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.763e-05/0.3788, allocations: 35.98 kB / 492.8 MB, free: 12.45 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.004064/0.3829, allocations: 1.821 MB / 494.6 MB, free: 10.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3829, allocations: 8.031 kB / 494.6 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.3844, allocations: 318.7 kB / 495 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.3863, allocations: 1.122 MB / 496.1 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.808e-05/0.3864, allocations: 107 kB / 496.2 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002428/0.3867, allocations: 136.3 kB / 496.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003121/0.3898, allocations: 1.862 MB / 498.2 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.3898, allocations: 192 / 498.2 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.39, allocations: 55.94 kB / 498.2 MB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.308e-05/0.3901, allocations: 50 kB / 498.3 MB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002739/0.3928, allocations: 1.617 MB / 499.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1578/0.5506, allocations: 5.589 MB / 0.4936 GB, free: 94.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002738/0.5534, allocations: 2.905 MB / 0.4965 GB, free: 91.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006806/0.5541, allocations: 0.507 MB / 0.497 GB, free: 91.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002075/0.5562, allocations: 1.543 MB / 0.4985 GB, free: 91.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.5562, allocations: 37.44 kB / 0.4985 GB, free: 91.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 3.827e-06/0.5563, allocations: 3.906 kB / 0.4985 GB, free: 91.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.002901/0.5592, allocations: 1.452 MB / 0.4999 GB, free: 90.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.5592, allocations: 83.08 kB / 0.5 GB, free: 90.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.5604, allocations: 1.021 MB / 0.501 GB, free: 90.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.5605, allocations: 36.7 kB / 0.5011 GB, free: 90.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/0.5609, allocations: 0.6736 MB / 0.5017 GB, free: 90.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.561, allocations: 190.5 kB / 0.5019 GB, free: 90.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.561, allocations: 11.72 kB / 0.5019 GB, free: 90.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.5611, allocations: 335.4 kB / 0.5022 GB, free: 90.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/0.5617, allocations: 372.4 kB / 0.5026 GB, free: 90.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/0.5623, allocations: 0.5218 MB / 0.5031 GB, free: 89.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.5635, allocations: 0.8931 MB / 0.504 GB, free: 89.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.5635, allocations: 4.75 kB / 0.504 GB, free: 89.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001472/0.565, allocations: 1.03 MB / 0.505 GB, free: 89.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.565, allocations: 7.312 kB / 0.505 GB, free: 89.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.565, allocations: 3.969 kB / 0.505 GB, free: 89.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.5651, allocations: 10.81 kB / 0.505 GB, free: 89.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006885/0.5658, allocations: 189 kB / 0.5052 GB, free: 89.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.5658, allocations: 16.08 kB / 0.5052 GB, free: 89.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/0.5663, allocations: 90.19 kB / 0.5053 GB, free: 89.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.505e-05/0.5664, allocations: 37.45 kB / 0.5053 GB, free: 89.57 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.0006538/0.567, allocations: 0.5202 MB / 0.5058 GB, free: 89.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.5672, allocations: 91.25 kB / 0.5059 GB, free: 89.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.5682, allocations: 0.7 MB / 0.5066 GB, free: 89.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.5682, allocations: 6.75 kB / 0.5066 GB, free: 89.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.5683, allocations: 3.312 kB / 0.5066 GB, free: 89.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.5683, allocations: 2.531 kB / 0.5066 GB, free: 89.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.5706, allocations: 1.673 MB / 0.5082 GB, free: 89.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5706, allocations: 0 / 0.5082 GB, free: 89.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000409/0.571, allocations: 93.2 kB / 0.5083 GB, free: 89.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003639/0.5714, allocations: 153.8 kB / 0.5085 GB, free: 89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/0.5715, allocations: 21.69 kB / 0.5085 GB, free: 89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/0.5738, allocations: 2.622 MB / 0.511 GB, free: 87.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5738, allocations: 7.469 kB / 0.5111 GB, free: 87.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.5758, allocations: 1.507 MB / 0.5125 GB, free: 87.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.576, allocations: 192.3 kB / 0.5127 GB, free: 87.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.5762, allocations: 15.41 kB / 0.5127 GB, free: 87.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/0.5767, allocations: 74.61 kB / 0.5128 GB, free: 87.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.5768, allocations: 49.36 kB / 0.5128 GB, free: 87.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.5768, allocations: 20.08 kB / 0.5129 GB, free: 87.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008579/0.5777, allocations: 0.7253 MB / 0.5136 GB, free: 87.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.5777, allocations: 0 / 0.5136 GB, free: 87.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009161/0.5786, allocations: 376.5 kB / 0.5139 GB, free: 86.94 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.0001998/0.5788, allocations: 137.9 kB / 0.5141 GB, free: 86.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.5799, allocations: 0.7926 MB / 0.5148 GB, free: 86.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5799, allocations: 3.969 kB / 0.5148 GB, free: 86.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007964/0.5807, allocations: 0.5912 MB / 0.5154 GB, free: 86.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009641/0.5817, allocations: 171 kB / 0.5156 GB, free: 86.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.5852, allocations: 3.329 MB / 0.5188 GB, free: 84.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007306/0.586, allocations: 1.5 MB / 0.5203 GB, free: 83.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005758/0.5866, allocations: 231.7 kB / 0.5205 GB, free: 83.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.5867, allocations: 62.61 kB / 0.5206 GB, free: 83.59 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5867, allocations: 0 / 0.5206 GB, free: 83.59 MB / 378.7 MB Notification: Performance of Templates: time 0.01532/0.602, allocations: 10.91 MB / 0.5312 GB, free: 81.96 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches