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.001085/0.001085, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 223.3 MB / 241.4 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007987/0.0007987, allocations: 97.08 kB / 292.6 MB, free: 10.81 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002774/0.0002774, allocations: 11.94 kB / 352.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1872, allocations: 50.4 MB / 402.8 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.2879, allocations: 96.35 MB / 499.1 MB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.2882, allocations: 88.58 kB / 499.2 MB, free: 15.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8602/1.148, allocations: 314 MB / 0.7941 GB, free: 28.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.149, allocations: 0 / 0.7941 GB, free: 28.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002811/1.149, allocations: 171.9 kB / 0.7943 GB, free: 28.03 MB / 442.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.026/1.175, allocations: 9.771 MB / 0.8038 GB, free: 18.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/1.175, allocations: 12.03 kB / 0.8038 GB, free: 18.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02836/1.203, allocations: 5.55 MB / 0.8093 GB, free: 12.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/1.217, allocations: 6.403 MB / 0.8155 GB, free: 6.133 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000645/1.218, allocations: 0.6141 MB / 0.8161 GB, free: 5.516 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002947/1.221, allocations: 0.8046 MB / 0.8169 GB, free: 4.711 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2139/1.435, allocations: 15.77 MB / 0.8323 GB, free: 53.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002356/1.435, allocations: 18.23 kB / 0.8323 GB, free: 53.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00156/1.437, allocations: 347.9 kB / 0.8326 GB, free: 53.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006969/1.438, allocations: 0.8191 MB / 0.8334 GB, free: 53.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02479/1.462, allocations: 14.6 MB / 0.8477 GB, free: 53.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06285/1.525, allocations: 47.73 MB / 0.8943 GB, free: 38.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01386/1.539, allocations: 19.27 MB / 0.9131 GB, free: 23.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003979/1.543, allocations: 3.553 MB / 0.9166 GB, free: 22.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003366/1.543, allocations: 185.8 kB / 0.9168 GB, free: 21.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/1.544, allocations: 82.03 kB / 0.9168 GB, free: 21.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=468): time 6.031e-06/1.544, allocations: 0 / 0.9168 GB, free: 21.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=468): time 0.02018/1.564, allocations: 11.53 MB / 0.9281 GB, free: 17.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/1.564, allocations: 127.4 kB / 0.9282 GB, free: 17.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006836/1.571, allocations: 3.808 MB / 0.9319 GB, free: 16.44 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007532/1.571, allocations: 104.5 kB / 0.932 GB, free: 16.35 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001641/1.573, allocations: 3.902 MB / 0.9359 GB, free: 13.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001055/1.574, allocations: 1.604 MB / 0.9374 GB, free: 12.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003228/1.575, allocations: 149.3 kB / 0.9376 GB, free: 12.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003087/1.575, allocations: 0.6063 MB / 0.9382 GB, free: 11.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004426/1.579, allocations: 3.648 MB / 0.9417 GB, free: 10.49 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005324/1.585, allocations: 6.483 MB / 0.948 GB, free: 5.145 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01176/1.596, allocations: 10.78 MB / 0.9586 GB, free: 10.52 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.014e-05/1.596, allocations: 28 kB / 0.9586 GB, free: 10.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02082/1.617, allocations: 11.87 MB / 0.9702 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.835e-05/1.617, allocations: 48.25 kB / 0.9702 GB, free: 496 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001658/1.618, allocations: 103.5 kB / 0.9703 GB, free: 396 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007364/1.625, allocations: 1.835 MB / 0.9721 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006346/1.631, allocations: 1.663 MB / 0.9738 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01871/1.65, allocations: 16.21 MB / 0.9896 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005962/1.656, allocations: 0.9536 MB / 0.9905 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001492/1.658, allocations: 364.2 kB / 0.9909 GB, free: 13.97 MB / 490.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 () * Number of clocked 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.00884/1.666, allocations: 3.752 MB / 0.9945 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/1.668, allocations: 394.2 kB / 0.9949 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02093/1.689, allocations: 8.505 MB / 1.003 GB, free: 3.598 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.416e-05/1.689, allocations: 51.7 kB / 1.003 GB, free: 3.551 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.555e-05/1.689, allocations: 12 kB / 1.003 GB, free: 3.539 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001097/1.689, allocations: 25.61 kB / 1.003 GB, free: 3.535 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2552/1.944, allocations: 17.11 MB / 1.02 GB, free: 93.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/1.944, allocations: 6.969 kB / 1.02 GB, free: 93.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002966/1.947, allocations: 0.8571 MB / 1.021 GB, free: 93.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003739/1.951, allocations: 1.488 MB / 1.022 GB, free: 93.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002643/1.951, allocations: 108.6 kB / 1.022 GB, free: 93.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01453/1.966, allocations: 16 MB / 1.038 GB, free: 85.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.966, allocations: 3.375 kB / 1.038 GB, free: 85.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/1.982, allocations: 12.15 MB / 1.05 GB, free: 84.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/1.984, allocations: 1.113 MB / 1.051 GB, free: 84.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004521/1.984, allocations: 88.16 kB / 1.051 GB, free: 84.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/1.986, allocations: 307.8 kB / 1.051 GB, free: 84.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006015/1.987, allocations: 324 kB / 1.052 GB, free: 84.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002554/1.987, allocations: 136.2 kB / 1.052 GB, free: 84.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003007/1.99, allocations: 2.543 MB / 1.054 GB, free: 83.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.99, allocations: 0 / 1.054 GB, free: 83.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005557/1.995, allocations: 2.388 MB / 1.057 GB, free: 83.66 MB / 490.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 () * Number of clocked 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.0004952/1.996, allocations: 291 kB / 1.057 GB, free: 83.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0108/2.007, allocations: 9.282 MB / 1.066 GB, free: 82.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/2.007, allocations: 9.875 kB / 1.066 GB, free: 82.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005307/2.012, allocations: 4.434 MB / 1.07 GB, free: 81.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003797/2.016, allocations: 0.7129 MB / 1.071 GB, free: 81.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02351/2.039, allocations: 19.94 MB / 1.09 GB, free: 74.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005429/2.045, allocations: 6.043 MB / 1.096 GB, free: 73.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007545/2.053, allocations: 3.295 MB / 1.1 GB, free: 73.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/2.054, allocations: 373.3 kB / 1.1 GB, free: 73.45 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/2.054, allocations: 0 / 1.1 GB, free: 73.45 MB / 490.7 MB Notification: Performance of Templates: time 0.1248/2.178, allocations: 62.83 MB / 1.161 GB, free: 34.04 MB / 490.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/jenkins1/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