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.00147/0.00147, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.941/1.941, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001098/0.001097, allocations: 104.3 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003856, allocations: 15.98 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3236, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.458, allocations: 84.73 MB / 459.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/0.4584, allocations: 87.89 kB / 459.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1278/0.5862, allocations: 30.95 MB / 490.3 MB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5862, allocations: 0 / 490.3 MB, free: 12.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001359/0.5864, allocations: 39.94 kB / 490.3 MB, free: 12.62 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.007124/0.5935, allocations: 1.84 MB / 492.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.5936, allocations: 8.031 kB / 492.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00259/0.5962, allocations: 325.7 kB / 492.5 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003513/0.5997, allocations: 1.083 MB / 493.6 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.5999, allocations: 102.7 kB / 493.7 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004473/0.6004, allocations: 132 kB / 493.8 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005659/0.6061, allocations: 1.854 MB / 495.7 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.101e-05/0.6062, allocations: 0 / 495.7 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002444/0.6064, allocations: 56 kB / 495.7 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-05/0.6066, allocations: 49.94 kB / 495.8 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005183/0.6117, allocations: 1.614 MB / 497.4 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2756/0.8874, allocations: 5.592 MB / 0.4912 GB, free: 93.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005071/0.8926, allocations: 2.903 MB / 0.494 GB, free: 91.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003946/0.8966, allocations: 1.533 MB / 0.4955 GB, free: 91.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.8967, allocations: 45.88 kB / 0.4956 GB, free: 91.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 3.877e-06/0.8967, allocations: 0 / 0.4956 GB, free: 91.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.005477/0.9022, allocations: 1.434 MB / 0.497 GB, free: 90.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.9023, allocations: 86.45 kB / 0.4971 GB, free: 90.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.9043, allocations: 0.9213 MB / 0.498 GB, free: 90.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001575/0.9045, allocations: 39.02 kB / 0.498 GB, free: 90.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004968/0.905, allocations: 0.6738 MB / 0.4987 GB, free: 90.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.9053, allocations: 190.4 kB / 0.4988 GB, free: 90.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.098e-05/0.9053, allocations: 12.09 kB / 0.4988 GB, free: 90.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.9054, allocations: 338.6 kB / 0.4992 GB, free: 89.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.9065, allocations: 374.2 kB / 0.4995 GB, free: 89.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.9076, allocations: 0.5209 MB / 0.5 GB, free: 89.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.9088, allocations: 445.6 kB / 0.5005 GB, free: 89.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.9088, allocations: 2.094 kB / 0.5005 GB, free: 89.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002586/0.9114, allocations: 0.9642 MB / 0.5014 GB, free: 89.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.9115, allocations: 7.062 kB / 0.5014 GB, free: 89.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.9115, allocations: 4.625 kB / 0.5014 GB, free: 89.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.9116, allocations: 8.75 kB / 0.5014 GB, free: 89.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.913, allocations: 185.8 kB / 0.5016 GB, free: 89.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.517e-05/0.9131, allocations: 12.72 kB / 0.5016 GB, free: 89.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.9142, allocations: 94.89 kB / 0.5017 GB, free: 89.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.9143, allocations: 26.81 kB / 0.5017 GB, free: 89.69 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.001215/0.9156, allocations: 0.5326 MB / 0.5022 GB, free: 89.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003636/0.9159, allocations: 88.91 kB / 0.5023 GB, free: 89.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/0.918, allocations: 0.6994 MB / 0.503 GB, free: 89.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.9181, allocations: 7.75 kB / 0.503 GB, free: 89.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.9181, allocations: 8.719 kB / 0.503 GB, free: 89.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.9182, allocations: 3 kB / 0.503 GB, free: 89.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/0.9221, allocations: 1.668 MB / 0.5047 GB, free: 89.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.9221, allocations: 3.312 kB / 0.5047 GB, free: 89.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008525/0.923, allocations: 96.59 kB / 0.5048 GB, free: 89.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006694/0.9237, allocations: 149.1 kB / 0.5049 GB, free: 89.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.608e-05/0.9238, allocations: 28.47 kB / 0.5049 GB, free: 89.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003948/0.9277, allocations: 2.668 MB / 0.5075 GB, free: 87.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.9278, allocations: 3.953 kB / 0.5075 GB, free: 87.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003486/0.9313, allocations: 1.552 MB / 0.5091 GB, free: 87.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/0.9317, allocations: 190.7 kB / 0.5092 GB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.9319, allocations: 26.22 kB / 0.5093 GB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009404/0.9329, allocations: 63.41 kB / 0.5093 GB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.9331, allocations: 54.67 kB / 0.5094 GB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.785e-05/0.9332, allocations: 15.16 kB / 0.5094 GB, free: 87.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001426/0.9346, allocations: 0.7257 MB / 0.5101 GB, free: 87.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.9346, allocations: 3.125 kB / 0.5101 GB, free: 87.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001544/0.9362, allocations: 359.1 kB / 0.5104 GB, free: 87.1 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.0003759/0.9366, allocations: 159.8 kB / 0.5106 GB, free: 87.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002153/0.9388, allocations: 0.7894 MB / 0.5114 GB, free: 86.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.9388, allocations: 0 / 0.5114 GB, free: 86.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001615/0.9405, allocations: 0.5936 MB / 0.5119 GB, free: 86.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.9419, allocations: 167.5 kB / 0.5121 GB, free: 86.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006583/0.9485, allocations: 3.326 MB / 0.5154 GB, free: 84.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/0.9498, allocations: 1.486 MB / 0.5168 GB, free: 83.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004935/0.9503, allocations: 68.7 kB / 0.5169 GB, free: 83.88 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.9503, allocations: 0 / 0.5169 GB, free: 83.88 MB / 378.7 MB Notification: Performance of Templates: time 0.03455/0.9849, allocations: 19.16 MB / 0.5356 GB, free: 75.49 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