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.002024/0.002024, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.624/1.624, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.0009629/0.0009627, allocations: 92.16 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003564, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2514, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.3658, allocations: 84.72 MB / 460.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.3661, allocations: 87.95 kB / 460.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07377/0.4399, allocations: 30.95 MB / 491.6 MB, free: 12.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.44, allocations: 4 kB / 491.6 MB, free: 12.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.015e-05/0.44, allocations: 36.59 kB / 491.6 MB, free: 12.54 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.003509/0.4436, allocations: 1.844 MB / 493.5 MB, free: 10.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.4436, allocations: 8.031 kB / 493.5 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.4449, allocations: 317.8 kB / 493.8 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.4468, allocations: 1.087 MB / 494.9 MB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.892e-05/0.4469, allocations: 102.7 kB / 495 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.4471, allocations: 132 kB / 495.1 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/0.4498, allocations: 1.842 MB / 496.9 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.4498, allocations: 11.86 kB / 496.9 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.45, allocations: 59.98 kB / 497 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-05/0.45, allocations: 50 kB / 497.1 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/0.4525, allocations: 1.61 MB / 498.7 MB, free: 5.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1659/0.6183, allocations: 5.593 MB / 0.4924 GB, free: 94.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0029/0.6213, allocations: 2.902 MB / 0.4953 GB, free: 92.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002309/0.6236, allocations: 1.537 MB / 0.4968 GB, free: 91.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.6237, allocations: 39.91 kB / 0.4968 GB, free: 91.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 2.595e-06/0.6237, allocations: 0 / 0.4968 GB, free: 91.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.002935/0.6266, allocations: 1.439 MB / 0.4982 GB, free: 91.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.6267, allocations: 82.86 kB / 0.4983 GB, free: 91.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.6279, allocations: 0.923 MB / 0.4992 GB, free: 91.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.628, allocations: 35.92 kB / 0.4992 GB, free: 91.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.6283, allocations: 0.6781 MB / 0.4999 GB, free: 90.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.6284, allocations: 184.7 kB / 0.5001 GB, free: 90.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.6285, allocations: 20.56 kB / 0.5001 GB, free: 90.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.6286, allocations: 334.4 kB / 0.5004 GB, free: 90.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/0.6291, allocations: 372.4 kB / 0.5008 GB, free: 90.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/0.6297, allocations: 0.5219 MB / 0.5013 GB, free: 90.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006551/0.6304, allocations: 442.9 kB / 0.5017 GB, free: 90.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.6304, allocations: 2.25 kB / 0.5017 GB, free: 90.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001497/0.6319, allocations: 1.024 MB / 0.5027 GB, free: 90.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.6319, allocations: 7.438 kB / 0.5027 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.632, allocations: 7.781 kB / 0.5027 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.632, allocations: 8.688 kB / 0.5027 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007126/0.6327, allocations: 188.1 kB / 0.5029 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.6327, allocations: 11.5 kB / 0.5029 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/0.6333, allocations: 88.14 kB / 0.503 GB, free: 90.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.6333, allocations: 30.84 kB / 0.503 GB, free: 90.14 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.0006843/0.634, allocations: 0.5246 MB / 0.5035 GB, free: 90.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.6341, allocations: 94.78 kB / 0.5036 GB, free: 89.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.6352, allocations: 0.6995 MB / 0.5043 GB, free: 89.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.6352, allocations: 3.625 kB / 0.5043 GB, free: 89.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.6352, allocations: 3.969 kB / 0.5043 GB, free: 89.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.6352, allocations: 0 / 0.5043 GB, free: 89.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.6374, allocations: 1.672 MB / 0.506 GB, free: 89.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6374, allocations: 6 kB / 0.506 GB, free: 89.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.6378, allocations: 99.47 kB / 0.5061 GB, free: 89.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003634/0.6382, allocations: 156.8 kB / 0.5062 GB, free: 89.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.6383, allocations: 21.36 kB / 0.5062 GB, free: 89.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002331/0.6406, allocations: 2.665 MB / 0.5088 GB, free: 88.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6406, allocations: 11.23 kB / 0.5088 GB, free: 88.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.6424, allocations: 1.553 MB / 0.5104 GB, free: 87.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.6427, allocations: 189 kB / 0.5105 GB, free: 87.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.6428, allocations: 21.5 kB / 0.5106 GB, free: 87.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005189/0.6434, allocations: 64.16 kB / 0.5106 GB, free: 87.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.6435, allocations: 58.47 kB / 0.5107 GB, free: 87.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.6435, allocations: 13.34 kB / 0.5107 GB, free: 87.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007577/0.6443, allocations: 0.7267 MB / 0.5114 GB, free: 87.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6443, allocations: 3.875 kB / 0.5114 GB, free: 87.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008946/0.6452, allocations: 369.9 kB / 0.5117 GB, free: 87.55 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.0002205/0.6454, allocations: 142.4 kB / 0.5119 GB, free: 87.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.6465, allocations: 0.7971 MB / 0.5127 GB, free: 87.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6465, allocations: 0 / 0.5127 GB, free: 87.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008375/0.6473, allocations: 0.5944 MB / 0.5132 GB, free: 87.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006582/0.648, allocations: 171.3 kB / 0.5134 GB, free: 87.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.6514, allocations: 3.326 MB / 0.5167 GB, free: 85.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007204/0.6522, allocations: 1.523 MB / 0.5181 GB, free: 84.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005402/0.6527, allocations: 231.7 kB / 0.5184 GB, free: 84.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.6529, allocations: 59.56 kB / 0.5184 GB, free: 84.3 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6529, allocations: 0 / 0.5184 GB, free: 84.3 MB / 378.7 MB Notification: Performance of Templates: time 0.01579/0.6687, allocations: 10.82 MB / 0.529 GB, free: 83.44 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/jenkins/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