Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002401/0.002405, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.118/2.118, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001103/0.001102, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.626e-05/3.644e-05, allocations: 0 / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1326, allocations: 47.57 MB / 369.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4553/0.588, allocations: 94.52 MB / 463.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/0.5884, allocations: 90.19 kB / 463.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.522/2.111, allocations: 310.8 MB / 0.7563 GB, free: 70.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.555e-06/2.111, allocations: 0 / 0.7563 GB, free: 70.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005983/2.112, allocations: 176 kB / 0.7565 GB, free: 70.57 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.04741/2.159, allocations: 9.567 MB / 0.7658 GB, free: 67.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/2.159, allocations: 7.719 kB / 0.7658 GB, free: 67.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04539/2.204, allocations: 5.515 MB / 0.7712 GB, free: 66.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02046/2.225, allocations: 6.131 MB / 0.7772 GB, free: 63.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001192/2.226, allocations: 0.6344 MB / 0.7778 GB, free: 63.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004804/2.231, allocations: 0.8061 MB / 0.7786 GB, free: 63.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05328/2.284, allocations: 16.66 MB / 0.7949 GB, free: 46.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004332/2.285, allocations: 15.84 kB / 0.7949 GB, free: 46.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004231/2.289, allocations: 351 kB / 0.7953 GB, free: 46.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001094/2.29, allocations: 0.7204 MB / 0.796 GB, free: 45.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04466/2.335, allocations: 15.97 MB / 0.8116 GB, free: 29.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4589/2.794, allocations: 51.26 MB / 0.8616 GB, free: 56.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03042/2.824, allocations: 13.72 MB / 0.875 GB, free: 53.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02115/2.846, allocations: 9.279 MB / 0.8841 GB, free: 53.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001684/2.847, allocations: 315.3 kB / 0.8844 GB, free: 53.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/2.847, allocations: 118 kB / 0.8845 GB, free: 53.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=968): time 1.613e-05/2.848, allocations: 0 / 0.8845 GB, free: 53.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=968): time 0.04773/2.895, allocations: 17.25 MB / 0.9013 GB, free: 49.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/2.895, allocations: 155.1 kB / 0.9015 GB, free: 49.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004046/2.899, allocations: 1.626 MB / 0.9031 GB, free: 48.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002288/2.902, allocations: 147 kB / 0.9032 GB, free: 48.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001842/2.904, allocations: 2.483 MB / 0.9056 GB, free: 47.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005248/2.909, allocations: 3.158 MB / 0.9087 GB, free: 44.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002297/2.911, allocations: 129.3 kB / 0.9088 GB, free: 44.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001133/2.912, allocations: 0.646 MB / 0.9095 GB, free: 44.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01666/2.929, allocations: 6.445 MB / 0.9158 GB, free: 41.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01838/2.948, allocations: 7.068 MB / 0.9227 GB, free: 38.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01891/2.967, allocations: 7.456 MB / 0.9299 GB, free: 35.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.955e-05/2.967, allocations: 0 / 0.9299 GB, free: 35.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.05166/3.018, allocations: 17.86 MB / 0.9474 GB, free: 25.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/3.018, allocations: 8 kB / 0.9474 GB, free: 25.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-05/3.019, allocations: 7.953 kB / 0.9474 GB, free: 25.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02339/3.042, allocations: 6.581 MB / 0.9538 GB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01091/3.053, allocations: 1.17 MB / 0.955 GB, free: 19.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02716/3.08, allocations: 12.72 MB / 0.9674 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009043/3.089, allocations: 0.7851 MB / 0.9682 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002766/3.092, allocations: 269.9 kB / 0.9684 GB, free: 7.488 MB / 426.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 () * 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.00523/3.097, allocations: 435.5 kB / 0.9688 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0033/3.101, allocations: 410.8 kB / 0.9692 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06372/3.164, allocations: 19.45 MB / 0.9882 GB, free: 6.652 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005743/3.165, allocations: 272.3 kB / 0.9885 GB, free: 6.422 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-05/3.165, allocations: 4 kB / 0.9885 GB, free: 6.418 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000176/3.165, allocations: 39.14 kB / 0.9885 GB, free: 6.418 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4412/3.607, allocations: 34.28 MB / 1.022 GB, free: 94.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001735/3.607, allocations: 0 / 1.022 GB, free: 94.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01048/3.617, allocations: 1.102 MB / 1.023 GB, free: 94.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02519/3.643, allocations: 6.584 MB / 1.029 GB, free: 94.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002683/3.645, allocations: 208.8 kB / 1.03 GB, free: 94.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02673/3.672, allocations: 12.68 MB / 1.042 GB, free: 92.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/3.672, allocations: 0 / 1.042 GB, free: 92.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07382/3.746, allocations: 28.55 MB / 1.07 GB, free: 88.13 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007569/3.754, allocations: 2.074 MB / 1.072 GB, free: 87.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003086/3.757, allocations: 132.1 kB / 1.072 GB, free: 87.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00781/3.765, allocations: 416.6 kB / 1.073 GB, free: 87 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003774/3.768, allocations: 0.7058 MB / 1.073 GB, free: 86.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002649/3.771, allocations: 257.3 kB / 1.073 GB, free: 86.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00335/3.774, allocations: 1.26 MB / 1.075 GB, free: 86.33 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.254e-06/3.775, allocations: 0 / 1.075 GB, free: 86.33 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01174/3.786, allocations: 2.4 MB / 1.077 GB, free: 85.89 MB / 458.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 () * 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.003256/3.79, allocations: 360.6 kB / 1.077 GB, free: 85.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.04392/3.834, allocations: 15.54 MB / 1.093 GB, free: 79.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/3.834, allocations: 6.906 kB / 1.093 GB, free: 79.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02623/3.86, allocations: 8.348 MB / 1.101 GB, free: 76.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007187/3.867, allocations: 0.5953 MB / 1.101 GB, free: 76.13 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05731/3.924, allocations: 19.8 MB / 1.121 GB, free: 58.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01312/3.938, allocations: 6.252 MB / 1.127 GB, free: 53.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004214/3.942, allocations: 371.4 kB / 1.127 GB, free: 53.54 MB / 458.7 MB Notification: Performance of SimCode: time 2.003e-06/3.942, allocations: 0 / 1.127 GB, free: 53.54 MB / 458.7 MB Notification: Performance of Templates: time 1.215/5.157, allocations: 312.2 MB / 1.432 GB, free: 103.8 MB / 490.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches