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.001475/0.001482, allocations: 177.8 kB / 8.358 MB, free: 0.7188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 83.17 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.524e-05/2.535e-05, allocations: 4 kB / 314.8 MB, free: 9.141 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3475, allocations: 47.56 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.4886, allocations: 83.98 MB / 446.3 MB, free: 2.316 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.489, allocations: 81.8 kB / 446.4 MB, free: 2.238 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1301/0.6191, allocations: 30.63 MB / 477 MB, free: 3.402 MB / 363.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.6192, allocations: 0 / 477 MB, free: 3.402 MB / 363.1 MB Notification: Performance of Transformations before backend: time 0.0001602/0.6194, allocations: 36 kB / 477.1 MB, free: 3.367 MB / 363.1 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.007159/0.6266, allocations: 1.678 MB / 478.7 MB, free: 1.641 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.6266, allocations: 8.031 kB / 478.7 MB, free: 1.633 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00269/0.6293, allocations: 317.9 kB / 479.1 MB, free: 1.32 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003858/0.6332, allocations: 1.094 MB / 480.2 MB, free: 188 kB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.649e-05/0.6334, allocations: 40 kB / 480.2 MB, free: 148 kB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004518/0.6339, allocations: 80 kB / 480.3 MB, free: 68 kB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004691/0.6386, allocations: 1.43 MB / 481.7 MB, free: 14.63 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00515/0.6438, allocations: 1.591 MB / 483.3 MB, free: 12.99 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/0.6439, allocations: 0 / 483.3 MB, free: 12.99 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.6441, allocations: 4 kB / 483.3 MB, free: 12.99 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.315e-05/0.6442, allocations: 45.98 kB / 483.3 MB, free: 12.94 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.6603, allocations: 5.347 MB / 488.7 MB, free: 7.375 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005204/0.6656, allocations: 2.832 MB / 491.5 MB, free: 4.086 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.6668, allocations: 443.8 kB / 491.9 MB, free: 3.645 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004092/0.6709, allocations: 1.502 MB / 493.5 MB, free: 2.078 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.671, allocations: 42.84 kB / 493.5 MB, free: 2.027 MB / 379.1 MB Notification: Performance of pre-optimization done (n=52): time 4.198e-06/0.671, allocations: 0 / 493.5 MB, free: 2.027 MB / 379.1 MB Notification: Performance of matching and sorting (n=52): time 0.002733/0.6738, allocations: 0.8136 MB / 494.3 MB, free: 1.207 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.6739, allocations: 85.11 kB / 494.4 MB, free: 1.105 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/0.676, allocations: 0.8517 MB / 495.2 MB, free: 256 kB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001654/0.6762, allocations: 29.7 kB / 495.3 MB, free: 220 kB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006803/0.6769, allocations: 0.676 MB / 495.9 MB, free: 15.53 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.6772, allocations: 177.4 kB / 496.1 MB, free: 15.35 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.6773, allocations: 0 / 496.1 MB, free: 15.35 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.6775, allocations: 338.8 kB / 496.5 MB, free: 15.01 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007417/0.6782, allocations: 313.4 kB / 496.8 MB, free: 14.71 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009146/0.6791, allocations: 469.8 kB / 497.2 MB, free: 14.18 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.6805, allocations: 441.2 kB / 497.6 MB, free: 13.75 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.6806, allocations: 0 / 497.6 MB, free: 13.75 MB / 395.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002467/0.683, allocations: 0.8618 MB / 498.5 MB, free: 12.88 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.6831, allocations: 11.95 kB / 498.5 MB, free: 12.87 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/0.6832, allocations: 4 kB / 498.5 MB, free: 12.87 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-05/0.6832, allocations: 11.94 kB / 498.5 MB, free: 12.86 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.6847, allocations: 196 kB / 498.7 MB, free: 12.66 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/0.6848, allocations: 8 kB / 498.7 MB, free: 12.66 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.6858, allocations: 71.25 kB / 498.8 MB, free: 12.59 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.285e-05/0.6859, allocations: 35.98 kB / 498.8 MB, free: 12.55 MB / 395.1 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.0002266/0.6862, allocations: 116.7 kB / 499 MB, free: 12.43 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/0.6864, allocations: 86.97 kB / 499 MB, free: 12.34 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/0.6887, allocations: 0.6739 MB / 499.7 MB, free: 11.66 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.6888, allocations: 8 kB / 499.7 MB, free: 11.65 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.6888, allocations: 4 kB / 499.7 MB, free: 11.64 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.6888, allocations: 3.984 kB / 499.7 MB, free: 11.64 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004112/0.6929, allocations: 1.419 MB / 0.4894 GB, free: 10.17 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/0.693, allocations: 4 kB / 0.4894 GB, free: 10.16 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009587/0.694, allocations: 99.97 kB / 0.4895 GB, free: 10.07 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007654/0.6948, allocations: 148.6 kB / 0.4896 GB, free: 9.918 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-05/0.6949, allocations: 12.27 kB / 0.4897 GB, free: 9.906 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004638/0.6995, allocations: 2.512 MB / 0.4921 GB, free: 7.285 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.6996, allocations: 3.984 kB / 0.4921 GB, free: 7.281 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/0.7032, allocations: 1.432 MB / 0.4935 GB, free: 5.793 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005352/0.7038, allocations: 188 kB / 0.4937 GB, free: 5.59 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.704, allocations: 8 kB / 0.4937 GB, free: 5.582 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.705, allocations: 59.94 kB / 0.4938 GB, free: 5.523 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.7053, allocations: 51.8 kB / 0.4938 GB, free: 5.473 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.99e-05/0.7054, allocations: 19.98 kB / 0.4938 GB, free: 5.453 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001487/0.7069, allocations: 0.6552 MB / 0.4945 GB, free: 4.805 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7069, allocations: 4 kB / 0.4945 GB, free: 4.801 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001863/0.7088, allocations: 346.3 kB / 0.4948 GB, free: 4.461 MB / 395.1 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.0004616/0.7093, allocations: 143.1 kB / 0.4949 GB, free: 4.309 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.7111, allocations: 0.6669 MB / 0.4956 GB, free: 3.641 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/0.7112, allocations: 4 kB / 0.4956 GB, free: 3.637 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.7128, allocations: 0.5241 MB / 0.4961 GB, free: 3.105 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.7144, allocations: 139.9 kB / 0.4962 GB, free: 2.969 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006692/0.7212, allocations: 2.207 MB / 0.4984 GB, free: 0.7109 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2866/1.008, allocations: 1.496 MB / 0.4998 GB, free: 108.5 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006563/1.008, allocations: 63.62 kB / 0.4999 GB, free: 108.5 MB / 395.1 MB Notification: Performance of SimCode: time 1.563e-06/1.009, allocations: 1.641 kB / 0.4999 GB, free: 108.5 MB / 395.1 MB Notification: Performance of Templates: time 0.05443/1.063, allocations: 18.74 MB / 0.5182 GB, free: 107.8 MB / 395.1 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