Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 221.5 MB / 230.3 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008999/0.0008999, allocations: 88.48 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.434e-05/1.437e-05, allocations: 4 kB / 337.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.129, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3802/0.5093, allocations: 95.49 MB / 483 MB, free: 15.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.5096, allocations: 87.94 kB / 483.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.023/1.532, allocations: 311.7 MB / 0.7761 GB, free: 57.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.532, allocations: 3.938 kB / 0.7761 GB, free: 57.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005412/1.533, allocations: 183.6 kB / 0.7763 GB, free: 57.71 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.0344/1.567, allocations: 9.546 MB / 0.7856 GB, free: 55.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.567, allocations: 10.03 kB / 0.7856 GB, free: 55.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.029/1.596, allocations: 5.523 MB / 0.791 GB, free: 54.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01535/1.612, allocations: 6.32 MB / 0.7972 GB, free: 53.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005462/1.612, allocations: 271.4 kB / 0.7975 GB, free: 53.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003771/1.616, allocations: 482.1 kB / 0.7979 GB, free: 53.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02365/1.64, allocations: 13.2 MB / 0.8108 GB, free: 45.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03537/1.675, allocations: 14.14 MB / 0.8246 GB, free: 32.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004301/1.676, allocations: 15.91 kB / 0.8246 GB, free: 32.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003357/1.679, allocations: 7.953 kB / 0.8246 GB, free: 32.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009672/1.68, allocations: 0.8237 MB / 0.8255 GB, free: 31.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3857/2.066, allocations: 47.36 MB / 0.8717 GB, free: 67.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01968/2.085, allocations: 19.43 MB / 0.8907 GB, free: 54.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006405/2.092, allocations: 3.62 MB / 0.8942 GB, free: 54.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006496/2.093, allocations: 187.2 kB / 0.8944 GB, free: 54.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.721e-05/2.093, allocations: 85.33 kB / 0.8945 GB, free: 54.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=468): time 7.193e-06/2.093, allocations: 1 kB / 0.8945 GB, free: 54.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=468): time 0.01944/2.112, allocations: 8.454 MB / 0.9027 GB, free: 54.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/2.112, allocations: 125.9 kB / 0.9029 GB, free: 54.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006111/2.118, allocations: 3.241 MB / 0.906 GB, free: 54.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001266/2.12, allocations: 25.7 kB / 0.906 GB, free: 54.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002512/2.122, allocations: 3.887 MB / 0.9098 GB, free: 52.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00215/2.124, allocations: 1.543 MB / 0.9113 GB, free: 51.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005122/2.125, allocations: 0.8438 kB / 0.9113 GB, free: 51.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004735/2.125, allocations: 0.6094 MB / 0.9119 GB, free: 50.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00473/2.13, allocations: 3.699 MB / 0.9156 GB, free: 50.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00616/2.136, allocations: 6.454 MB / 0.9219 GB, free: 47.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/2.147, allocations: 6.436 MB / 0.9281 GB, free: 47.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/2.147, allocations: 32.69 kB / 0.9282 GB, free: 47.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02666/2.173, allocations: 12.6 MB / 0.9405 GB, free: 46.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002132/2.174, allocations: 45.94 kB / 0.9405 GB, free: 46.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002718/2.174, allocations: 92.75 kB / 0.9406 GB, free: 46.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00527/2.179, allocations: 1.602 MB / 0.9422 GB, free: 46.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007639/2.187, allocations: 1.721 MB / 0.9439 GB, free: 46.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01668/2.204, allocations: 15.63 MB / 0.9591 GB, free: 35.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007519/2.211, allocations: 0.8673 MB / 0.96 GB, free: 35.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002299/2.214, allocations: 359.7 kB / 0.9603 GB, free: 35.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (876): * Single equations (assignments): 870 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003557/2.217, allocations: 367.6 kB / 0.9607 GB, free: 34.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001889/2.219, allocations: 386.5 kB / 0.961 GB, free: 34.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02376/2.243, allocations: 9.688 MB / 0.9705 GB, free: 31.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.337e-05/2.243, allocations: 48.72 kB / 0.9705 GB, free: 31.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.346e-05/2.243, allocations: 13.66 kB / 0.9705 GB, free: 31.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001485/2.243, allocations: 25.41 kB / 0.9706 GB, free: 31.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04056/2.284, allocations: 17.11 MB / 0.9873 GB, free: 23.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.329e-05/2.284, allocations: 4.25 kB / 0.9873 GB, free: 23.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00473/2.289, allocations: 0.9204 MB / 0.9882 GB, free: 22.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004723/2.293, allocations: 1.47 MB / 0.9896 GB, free: 21.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001363/2.295, allocations: 34.42 kB / 0.9896 GB, free: 21.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01514/2.31, allocations: 15.44 MB / 1.005 GB, free: 6.902 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/2.31, allocations: 4 kB / 1.005 GB, free: 6.898 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02423/2.334, allocations: 13.87 MB / 1.018 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003731/2.338, allocations: 1.179 MB / 1.019 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001301/2.339, allocations: 4 kB / 1.019 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003415/2.343, allocations: 286.4 kB / 1.02 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007518/2.344, allocations: 323.1 kB / 1.02 GB, free: 9.797 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003454/2.344, allocations: 137 kB / 1.02 GB, free: 9.672 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004347/2.348, allocations: 2.341 MB / 1.022 GB, free: 7.672 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.4e-07/2.348, allocations: 0 / 1.022 GB, free: 7.672 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01405/2.362, allocations: 2.185 MB / 1.025 GB, free: 5.484 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 449 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002354/2.365, allocations: 207.7 kB / 1.025 GB, free: 5.297 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02265/2.387, allocations: 9.368 MB / 1.034 GB, free: 13.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.695e-05/2.387, allocations: 4 kB / 1.034 GB, free: 13.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009458/2.397, allocations: 4.472 MB / 1.038 GB, free: 9.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004923/2.402, allocations: 0.5281 MB / 1.039 GB, free: 8.832 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3269/2.729, allocations: 14.46 MB / 1.053 GB, free: 85.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01318/2.742, allocations: 6.18 MB / 1.059 GB, free: 84.29 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01149/2.754, allocations: 3.423 MB / 1.062 GB, free: 84.25 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001988/2.756, allocations: 367.5 kB / 1.063 GB, free: 84.24 MB / 474.7 MB Notification: Performance of SimCode: time 1.372e-06/2.756, allocations: 1.031 kB / 1.063 GB, free: 84.24 MB / 474.7 MB Notification: Performance of Templates: time 0.1094/2.865, allocations: 61.34 MB / 1.123 GB, free: 81.09 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches