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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001889/0.00189, allocations: 109.4 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002322/0.002323, allocations: 189.1 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001196, allocations: 47.92 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09565/0.09686, allocations: 46.63 MB / 375.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.2009/0.2978, allocations: 9.911 MB / 385.7 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007374/0.3052, allocations: 3.348 MB / 389.1 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.3073, allocations: 60.53 kB / 389.2 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008174/0.3156, allocations: 3.828 MB / 393 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004451/0.32, allocations: 1.41 MB / 394.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.3228, allocations: 1.135 MB / 395.5 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01016/0.333, allocations: 9.151 MB / 404.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03001/0.363, allocations: 20.33 MB / 425 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008891/0.3719, allocations: 5.058 MB / 430.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0107/0.3827, allocations: 6.079 MB / 436.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004008/0.3868, allocations: 1.402 MB / 437.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005951/0.3927, allocations: 1.633 MB / 439.2 MB, free: 192 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004948/0.3977, allocations: 2.919 MB / 442.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009901/0.4077, allocations: 5.459 MB / 447.6 MB, free: 7.781 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02125/0.429, allocations: 18.69 MB / 466.2 MB, free: 5.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.429, allocations: 0 / 466.2 MB, free: 5.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.429, allocations: 4 kB / 466.3 MB, free: 5.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005082/0.4295, allocations: 3.938 kB / 466.3 MB, free: 5.035 MB / 382.1 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.03657/0.4661, allocations: 12.26 MB / 478.5 MB, free: 8.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.4662, allocations: 8.031 kB / 478.5 MB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04864/0.5148, allocations: 8.506 MB / 487 MB, free: 160 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/0.528, allocations: 5.384 MB / 492.4 MB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007403/0.5288, allocations: 0.6623 MB / 493.1 MB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003961/0.5328, allocations: 0.8671 MB / 493.9 MB, free: 9.176 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0415/0.5743, allocations: 15.97 MB / 0.498 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004265/0.5748, allocations: 11.91 kB / 0.498 GB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003491/0.5783, allocations: 368 kB / 0.4983 GB, free: 8.793 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008152/0.5791, allocations: 0.5698 MB / 0.4989 GB, free: 8.219 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03477/0.6139, allocations: 15.71 MB / 0.5142 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.429/1.043, allocations: 47.71 MB / 0.5608 GB, free: 119.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01776/1.061, allocations: 19.33 MB / 0.5797 GB, free: 106.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005163/1.066, allocations: 3.582 MB / 0.5832 GB, free: 106.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003626/1.066, allocations: 188.6 kB / 0.5834 GB, free: 106.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.214e-05/1.066, allocations: 86.28 kB / 0.5835 GB, free: 106.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 6.352e-06/1.066, allocations: 0 / 0.5835 GB, free: 106.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.02084/1.087, allocations: 11.55 MB / 0.5947 GB, free: 103.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/1.087, allocations: 123.7 kB / 0.5949 GB, free: 103.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005191/1.093, allocations: 3.84 MB / 0.5986 GB, free: 102.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004719/1.093, allocations: 102.8 kB / 0.5987 GB, free: 102.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001828/1.095, allocations: 3.897 MB / 0.6025 GB, free: 99.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001151/1.096, allocations: 1.615 MB / 0.6041 GB, free: 98.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00189/1.098, allocations: 1.47 MB / 0.6055 GB, free: 97.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.748e-05/1.098, allocations: 305.1 kB / 0.6058 GB, free: 97.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00434/1.102, allocations: 3.686 MB / 0.6094 GB, free: 95.97 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005212/1.108, allocations: 6.522 MB / 0.6158 GB, free: 90.99 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01052/1.118, allocations: 10.83 MB / 0.6264 GB, free: 82.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-05/1.118, allocations: 29.25 kB / 0.6264 GB, free: 82.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01735/1.136, allocations: 11.94 MB / 0.638 GB, free: 72.38 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.745e-05/1.136, allocations: 47.94 kB / 0.6381 GB, free: 72.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001309/1.136, allocations: 92 kB / 0.6382 GB, free: 72.24 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004421/1.14, allocations: 1.626 MB / 0.6398 GB, free: 70.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005824/1.146, allocations: 1.661 MB / 0.6414 GB, free: 68.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01577/1.162, allocations: 17.66 MB / 0.6586 GB, free: 50.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006151/1.168, allocations: 0.9522 MB / 0.6596 GB, free: 49.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/1.169, allocations: 360 kB / 0.6599 GB, free: 49.15 MB / 478.1 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005811/1.175, allocations: 3.77 MB / 0.6636 GB, free: 45.36 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007712/1.176, allocations: 387.1 kB / 0.664 GB, free: 44.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01281/1.189, allocations: 8.565 MB / 0.6723 GB, free: 36.33 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.083e-05/1.189, allocations: 48 kB / 0.6724 GB, free: 36.29 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-05/1.189, allocations: 16 kB / 0.6724 GB, free: 36.27 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-05/1.189, allocations: 23.91 kB / 0.6724 GB, free: 36.25 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02742/1.216, allocations: 16.79 MB / 0.6888 GB, free: 19.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-05/1.216, allocations: 4.062 kB / 0.6888 GB, free: 19.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003627/1.22, allocations: 0.862 MB / 0.6896 GB, free: 18.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004432/1.225, allocations: 1.514 MB / 0.6911 GB, free: 17.01 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000829/1.225, allocations: 99.98 kB / 0.6912 GB, free: 16.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0157/1.241, allocations: 17.46 MB / 0.7083 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.241, allocations: 4.938 kB / 0.7083 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02083/1.262, allocations: 12.23 MB / 0.7202 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003151/1.265, allocations: 1.104 MB / 0.7213 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009728/1.266, allocations: 84 kB / 0.7214 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002749/1.269, allocations: 311.7 kB / 0.7217 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008478/1.27, allocations: 319.5 kB / 0.722 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003181/1.27, allocations: 142.5 kB / 0.7221 GB, free: 220 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005105/1.275, allocations: 2.578 MB / 0.7246 GB, free: 13.64 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.5e-07/1.275, allocations: 0 / 0.7246 GB, free: 13.64 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.008459/1.284, allocations: 2.373 MB / 0.727 GB, free: 11.26 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009084/1.285, allocations: 255.9 kB / 0.7272 GB, free: 11 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01764/1.302, allocations: 9.382 MB / 0.7364 GB, free: 1.512 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/1.302, allocations: 0 / 0.7364 GB, free: 1.512 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.009244/1.312, allocations: 4.475 MB / 0.7407 GB, free: 12.96 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005931/1.318, allocations: 0.731 MB / 0.7414 GB, free: 12.23 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2535/1.571, allocations: 16.77 MB / 0.7578 GB, free: 165.9 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009302/1.581, allocations: 5.934 MB / 0.7636 GB, free: 165 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002184/1.583, allocations: 431 kB / 0.764 GB, free: 165 MB / 0.5138 GB Notification: Performance of SimCode: time 1.032e-06/1.583, allocations: 0 / 0.764 GB, free: 165 MB / 0.5138 GB Notification: Performance of Templates: time 0.8901/2.473, allocations: 417.3 MB / 1.172 GB, free: 173.7 MB / 0.5294 GB 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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