Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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.0009419/0.0009419, allocations: 187.2 kB / 18.04 MB, free: 3.773 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.344/1.344, allocations: 205.4 MB / 224.2 MB, free: 9.016 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.0007057/0.0007055, allocations: 97.25 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003008, allocations: 16 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2364, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1068/0.3432, allocations: 94.81 MB / 471.8 MB, free: 1.703 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.3435, allocations: 91.92 kB / 471.9 MB, free: 1.613 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8729/1.216, allocations: 309.7 MB / 0.7634 GB, free: 45.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.217, allocations: 3.938 kB / 0.7634 GB, free: 45.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002859/1.217, allocations: 183.2 kB / 0.7635 GB, free: 45.09 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.02812/1.245, allocations: 9.765 MB / 0.7731 GB, free: 35.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.245, allocations: 8.031 kB / 0.7731 GB, free: 35.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02936/1.274, allocations: 5.554 MB / 0.7785 GB, free: 29.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/1.288, allocations: 6.205 MB / 0.7846 GB, free: 23.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008941/1.289, allocations: 0.6328 MB / 0.7852 GB, free: 22.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003666/1.292, allocations: 0.7968 MB / 0.786 GB, free: 22.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0368/1.329, allocations: 16.9 MB / 0.8025 GB, free: 5.008 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003211/1.33, allocations: 11.91 kB / 0.8025 GB, free: 4.996 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002878/1.332, allocations: 352 kB / 0.8028 GB, free: 4.652 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009073/1.333, allocations: 0.7168 MB / 0.8035 GB, free: 3.934 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2191/1.553, allocations: 16.18 MB / 0.8193 GB, free: 59.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07864/1.631, allocations: 51.32 MB / 0.8694 GB, free: 49.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01704/1.648, allocations: 13.8 MB / 0.8829 GB, free: 42.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01225/1.661, allocations: 9.358 MB / 0.892 GB, free: 38.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008829/1.661, allocations: 315.7 kB / 0.8923 GB, free: 38.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.044e-05/1.662, allocations: 117.2 kB / 0.8925 GB, free: 38.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=968): time 1.382e-05/1.662, allocations: 0 / 0.8925 GB, free: 38.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=968): time 0.07102/1.733, allocations: 33.44 MB / 0.9251 GB, free: 19.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/1.733, allocations: 155.2 kB / 0.9253 GB, free: 19.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002774/1.736, allocations: 1.822 MB / 0.927 GB, free: 18.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001407/1.737, allocations: 145.7 kB / 0.9272 GB, free: 17.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/1.738, allocations: 2.531 MB / 0.9296 GB, free: 15.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003335/1.741, allocations: 3.155 MB / 0.9327 GB, free: 13.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/1.743, allocations: 132 kB / 0.9329 GB, free: 12.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006542/1.743, allocations: 0.6474 MB / 0.9335 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009122/1.752, allocations: 6.507 MB / 0.9398 GB, free: 6.879 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01165/1.764, allocations: 7.15 MB / 0.9468 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03553/1.8, allocations: 15.13 MB / 0.9616 GB, free: 6.402 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-05/1.8, allocations: 6.672 kB / 0.9616 GB, free: 6.398 MB / 442.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.2465/2.046, allocations: 18.12 MB / 0.9793 GB, free: 71.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/2.046, allocations: 9.5 kB / 0.9793 GB, free: 71.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.385e-05/2.046, allocations: 7.875 kB / 0.9793 GB, free: 71.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01196/2.058, allocations: 6.635 MB / 0.9858 GB, free: 71.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00586/2.064, allocations: 1.167 MB / 0.9869 GB, free: 71.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/2.08, allocations: 12.77 MB / 0.9994 GB, free: 69.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005341/2.086, allocations: 0.7814 MB / 1 GB, free: 69.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002007/2.088, allocations: 269.4 kB / 1 GB, free: 69.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (599): * Single equations (assignments): 520 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of prepare postOptimizeDAE: time 0.008051/2.096, allocations: 3.588 MB / 1.004 GB, free: 69.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001453/2.097, allocations: 409.8 kB / 1.004 GB, free: 69.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03654/2.134, allocations: 19.45 MB / 1.023 GB, free: 68.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004619/2.134, allocations: 277.1 kB / 1.024 GB, free: 68.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.963e-05/2.134, allocations: 0 / 1.024 GB, free: 68.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003208/2.135, allocations: 44.73 kB / 1.024 GB, free: 68.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06238/2.197, allocations: 34.22 MB / 1.057 GB, free: 54.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.349e-05/2.197, allocations: 3.938 kB / 1.057 GB, free: 54.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005033/2.202, allocations: 1.101 MB / 1.058 GB, free: 53.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01234/2.215, allocations: 6.651 MB / 1.065 GB, free: 51.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001924/2.217, allocations: 205.9 kB / 1.065 GB, free: 51.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/2.231, allocations: 12.72 MB / 1.077 GB, free: 40.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/2.231, allocations: 0 / 1.077 GB, free: 40.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04323/2.275, allocations: 28.74 MB / 1.105 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004766/2.279, allocations: 2.088 MB / 1.107 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001982/2.281, allocations: 128 kB / 1.107 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004197/2.286, allocations: 421.1 kB / 1.108 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002161/2.288, allocations: 0.7066 MB / 1.109 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001138/2.289, allocations: 259.9 kB / 1.109 GB, free: 12.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002043/2.291, allocations: 1.273 MB / 1.11 GB, free: 11.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.984e-06/2.291, allocations: 0 / 1.11 GB, free: 11.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006538/2.297, allocations: 2.396 MB / 1.112 GB, free: 8.914 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (574): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.001444/2.299, allocations: 336.2 kB / 1.113 GB, free: 8.648 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03412/2.333, allocations: 16.04 MB / 1.128 GB, free: 12.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/2.333, allocations: 0 / 1.128 GB, free: 12.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01794/2.351, allocations: 8.425 MB / 1.137 GB, free: 4.957 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007349/2.358, allocations: 0.7023 MB / 1.137 GB, free: 4.371 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2406/2.599, allocations: 25.5 MB / 1.162 GB, free: 80.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008155/2.607, allocations: 6.19 MB / 1.168 GB, free: 79.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005995/2.613, allocations: 1.818 MB / 1.17 GB, free: 79.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/2.615, allocations: 318.9 kB / 1.17 GB, free: 79.31 MB / 458.7 MB Notification: Performance of SimCode: time 1.072e-06/2.615, allocations: 1.25 kB / 1.17 GB, free: 79.31 MB / 458.7 MB Notification: Performance of Templates: time 0.1788/2.794, allocations: 139.4 MB / 1.306 GB, free: 12.84 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches