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.001836/0.001836, allocations: 181.2 kB / 17.41 MB, free: 4.41 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.813/2.813, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001076/0.001076, allocations: 89.36 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006009/0.0006012, allocations: 19.98 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3398, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1021/0.4419, allocations: 84.83 MB / 460.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.4422, allocations: 87.89 kB / 460.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07493/0.5171, allocations: 30.84 MB / 491.5 MB, free: 12.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5171, allocations: 0 / 491.5 MB, free: 12.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000129/0.5173, allocations: 36 kB / 491.5 MB, free: 12.51 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.006482/0.5238, allocations: 1.821 MB / 493.3 MB, free: 10.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.5239, allocations: 8.031 kB / 493.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/0.5263, allocations: 322.9 kB / 493.7 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/0.5297, allocations: 1.126 MB / 494.8 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.5298, allocations: 103 kB / 494.9 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005494/0.5304, allocations: 132.3 kB / 495 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004509/0.5349, allocations: 1.858 MB / 496.9 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.535, allocations: 4.188 kB / 496.9 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/0.5352, allocations: 59.94 kB / 496.9 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.695e-05/0.5353, allocations: 49.98 kB / 497 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003537/0.5389, allocations: 1.61 MB / 498.6 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3278/0.8667, allocations: 5.589 MB / 0.4924 GB, free: 94.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002823/0.8696, allocations: 2.908 MB / 0.4952 GB, free: 91.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007128/0.8703, allocations: 0.5049 MB / 0.4957 GB, free: 91.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00232/0.8726, allocations: 1.545 MB / 0.4972 GB, free: 91.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.8727, allocations: 37.09 kB / 0.4972 GB, free: 91.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 3.015e-06/0.8727, allocations: 4.656 kB / 0.4973 GB, free: 91.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.003006/0.8757, allocations: 1.448 MB / 0.4987 GB, free: 90.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.8758, allocations: 82.73 kB / 0.4987 GB, free: 90.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.8771, allocations: 1.022 MB / 0.4997 GB, free: 90.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/0.8772, allocations: 35.83 kB / 0.4998 GB, free: 90.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.8776, allocations: 0.6765 MB / 0.5004 GB, free: 90.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.8778, allocations: 186.2 kB / 0.5006 GB, free: 90.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.8778, allocations: 16 kB / 0.5006 GB, free: 90.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.593e-05/0.8779, allocations: 331.2 kB / 0.5009 GB, free: 90.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006251/0.8785, allocations: 373.7 kB / 0.5013 GB, free: 90.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006747/0.8792, allocations: 0.5213 MB / 0.5018 GB, free: 89.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.8804, allocations: 0.8985 MB / 0.5027 GB, free: 89.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.8805, allocations: 4.656 kB / 0.5027 GB, free: 89.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001674/0.8821, allocations: 1.026 MB / 0.5037 GB, free: 89.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.8822, allocations: 11.56 kB / 0.5037 GB, free: 89.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.8822, allocations: 5.25 kB / 0.5037 GB, free: 89.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.8822, allocations: 8.719 kB / 0.5037 GB, free: 89.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/0.8829, allocations: 184.3 kB / 0.5039 GB, free: 89.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.8829, allocations: 17.78 kB / 0.5039 GB, free: 89.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/0.8835, allocations: 89.77 kB / 0.504 GB, free: 89.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/0.8835, allocations: 29.19 kB / 0.504 GB, free: 89.59 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.000705/0.8842, allocations: 0.526 MB / 0.5045 GB, free: 89.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.8844, allocations: 92.03 kB / 0.5046 GB, free: 89.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.8854, allocations: 0.693 MB / 0.5053 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.8855, allocations: 9.938 kB / 0.5053 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.8855, allocations: 3.219 kB / 0.5053 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.8855, allocations: 3.281 kB / 0.5053 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.8877, allocations: 1.669 MB / 0.507 GB, free: 89.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.8877, allocations: 6.406 kB / 0.507 GB, free: 89.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/0.8881, allocations: 98.14 kB / 0.5071 GB, free: 89.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003962/0.8885, allocations: 157.8 kB / 0.5072 GB, free: 89.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.8885, allocations: 19.84 kB / 0.5072 GB, free: 89.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/0.8909, allocations: 2.626 MB / 0.5098 GB, free: 87.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8909, allocations: 0 / 0.5098 GB, free: 87.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.8928, allocations: 1.504 MB / 0.5113 GB, free: 87.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.8931, allocations: 187.1 kB / 0.5114 GB, free: 87.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-05/0.8932, allocations: 17.5 kB / 0.5114 GB, free: 87.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/0.8936, allocations: 70.2 kB / 0.5115 GB, free: 87.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.8938, allocations: 57.19 kB / 0.5116 GB, free: 87.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.8938, allocations: 16.44 kB / 0.5116 GB, free: 87.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008495/0.8947, allocations: 0.7222 MB / 0.5123 GB, free: 86.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.333e-06/0.8947, allocations: 0 / 0.5123 GB, free: 86.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009565/0.8956, allocations: 375 kB / 0.5126 GB, free: 86.84 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.000247/0.8959, allocations: 147.2 kB / 0.5128 GB, free: 86.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.8971, allocations: 0.7946 MB / 0.5136 GB, free: 86.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.8971, allocations: 3.812 kB / 0.5136 GB, free: 86.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009918/0.8981, allocations: 0.5896 MB / 0.5141 GB, free: 86.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.8992, allocations: 172.6 kB / 0.5143 GB, free: 86.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.9032, allocations: 3.325 MB / 0.5176 GB, free: 84.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007691/0.904, allocations: 1.471 MB / 0.519 GB, free: 83.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.9043, allocations: 64.53 kB / 0.5191 GB, free: 83.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.9043, allocations: 0 / 0.5191 GB, free: 83.5 MB / 378.7 MB Notification: Performance of Templates: time 0.3538/1.258, allocations: 19.52 MB / 0.5381 GB, free: 73.89 MB / 378.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