Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002501/0.0025, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001093/0.001093, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.934e-05/2.945e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 47.57 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4242/0.5251, allocations: 84.63 MB / 453.7 MB, free: 8.602 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.5255, allocations: 85.7 kB / 453.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1324/0.6579, allocations: 30.97 MB / 484.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6579, allocations: 0 / 484.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001627/0.6581, allocations: 35.94 kB / 484.8 MB, free: 11.16 MB / 362.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.007302/0.6654, allocations: 1.678 MB / 486.5 MB, free: 9.438 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/0.6655, allocations: 8.031 kB / 486.5 MB, free: 9.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00276/0.6683, allocations: 325.7 kB / 486.8 MB, free: 9.109 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003807/0.6722, allocations: 1.079 MB / 487.9 MB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.6724, allocations: 102.7 kB / 488 MB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000484/0.6729, allocations: 132 kB / 488.1 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005659/0.6785, allocations: 1.78 MB / 489.9 MB, free: 5.922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-05/0.6786, allocations: 0 / 489.9 MB, free: 5.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/0.6789, allocations: 56 kB / 490 MB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.679, allocations: 53.98 kB / 490 MB, free: 5.816 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005041/0.6841, allocations: 1.516 MB / 491.5 MB, free: 4.293 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02109/0.7052, allocations: 5.587 MB / 497.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007766/0.7131, allocations: 2.853 MB / 500 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/0.715, allocations: 471.7 kB / 0.4887 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005712/0.7208, allocations: 1.537 MB / 0.4902 GB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.7209, allocations: 34.84 kB / 0.4902 GB, free: 9.062 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 7.143e-06/0.7209, allocations: 4 kB / 0.4902 GB, free: 9.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.002522/0.7234, allocations: 0.804 MB / 0.491 GB, free: 8.246 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.7235, allocations: 81.11 kB / 0.4911 GB, free: 8.148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/0.7258, allocations: 0.9182 MB / 0.492 GB, free: 7.227 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000178/0.7261, allocations: 33.7 kB / 0.492 GB, free: 7.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006707/0.7267, allocations: 0.6682 MB / 0.4927 GB, free: 6.508 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003137/0.7271, allocations: 181.7 kB / 0.4929 GB, free: 6.328 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/0.7272, allocations: 16 kB / 0.4929 GB, free: 6.312 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.7274, allocations: 342.8 kB / 0.4932 GB, free: 5.969 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008868/0.7283, allocations: 325.3 kB / 0.4935 GB, free: 5.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009942/0.7293, allocations: 499.3 kB / 0.494 GB, free: 5.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009867/0.7303, allocations: 401.2 kB / 0.4944 GB, free: 4.699 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.7303, allocations: 4 kB / 0.4944 GB, free: 4.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002352/0.7327, allocations: 0.8659 MB / 0.4952 GB, free: 3.824 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.7328, allocations: 16.11 kB / 0.4952 GB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.7328, allocations: 4 kB / 0.4952 GB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/0.7328, allocations: 11.94 kB / 0.4952 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.7344, allocations: 179.8 kB / 0.4954 GB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-05/0.7344, allocations: 11.94 kB / 0.4954 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.7356, allocations: 95.33 kB / 0.4955 GB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.7357, allocations: 24 kB / 0.4955 GB, free: 3.488 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0002633/0.736, allocations: 140.8 kB / 0.4957 GB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/0.7363, allocations: 94.83 kB / 0.4958 GB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.7382, allocations: 0.6347 MB / 0.4964 GB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.7383, allocations: 8 kB / 0.4964 GB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.7383, allocations: 4 kB / 0.4964 GB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.7383, allocations: 7.938 kB / 0.4964 GB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/0.7427, allocations: 1.626 MB / 0.498 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.7427, allocations: 4 kB / 0.498 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000943/0.7437, allocations: 95.97 kB / 0.4981 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008003/0.7445, allocations: 148.6 kB / 0.4982 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.7446, allocations: 23.88 kB / 0.4983 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0048/0.7495, allocations: 2.6 MB / 0.5008 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.7495, allocations: 0 / 0.5008 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003448/0.753, allocations: 1.42 MB / 0.5022 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/0.7536, allocations: 191.9 kB / 0.5024 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/0.7538, allocations: 12 kB / 0.5024 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.7549, allocations: 71.94 kB / 0.5024 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/0.7552, allocations: 55.81 kB / 0.5025 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-05/0.7553, allocations: 19.98 kB / 0.5025 GB, free: 12.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001699/0.757, allocations: 0.7138 MB / 0.5032 GB, free: 11.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.757, allocations: 0 / 0.5032 GB, free: 11.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001765/0.7588, allocations: 366.3 kB / 0.5036 GB, free: 10.98 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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.0004474/0.7593, allocations: 164.4 kB / 0.5037 GB, free: 10.81 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.7612, allocations: 0.7024 MB / 0.5044 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.7613, allocations: 0 / 0.5044 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.7629, allocations: 0.5487 MB / 0.5049 GB, free: 9.547 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.7647, allocations: 155.2 kB / 0.5051 GB, free: 9.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006766/0.7715, allocations: 2.257 MB / 0.5073 GB, free: 7.082 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/0.7733, allocations: 1.492 MB / 0.5088 GB, free: 5.562 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005246/0.7739, allocations: 71.36 kB / 0.5088 GB, free: 5.492 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/0.7739, allocations: 0 / 0.5088 GB, free: 5.492 MB / 394.7 MB Notification: Performance of Templates: time 0.0446/0.8185, allocations: 19.11 MB / 0.5275 GB, free: 2.348 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches