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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 115.8 kB / 17.74 MB, free: 5.223 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.001893/0.001893, allocations: 181.5 kB / 18.67 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009607/0.0009608, allocations: 47.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2374, allocations: 49.43 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01037/0.2478, allocations: 9.997 MB / 411.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005983/0.2538, allocations: 3.326 MB / 414.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.2552, allocations: 71.81 kB / 414.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008066/0.2632, allocations: 3.834 MB / 418.6 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003844/0.2671, allocations: 1.504 MB / 420.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.2694, allocations: 1.047 MB / 421.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009089/0.2785, allocations: 9.142 MB / 430.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02618/0.3047, allocations: 20.33 MB / 450.7 MB, free: 7.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006923/0.3116, allocations: 5.062 MB / 455.7 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009263/0.3209, allocations: 6.087 MB / 461.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003547/0.3245, allocations: 1.398 MB / 463.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004964/0.3295, allocations: 1.629 MB / 464.8 MB, free: 9.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003977/0.3335, allocations: 2.927 MB / 467.8 MB, free: 6.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008607/0.3421, allocations: 5.451 MB / 473.2 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01826/0.3604, allocations: 18.83 MB / 492 MB, free: 13.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3605, allocations: 0 / 492 MB, free: 13.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3605, allocations: 3.938 kB / 492 MB, free: 13.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004166/0.3609, allocations: 0 / 492 MB, free: 13.91 MB / 414.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.03442/0.3953, allocations: 12.26 MB / 0.4925 GB, free: 1.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3954, allocations: 8.031 kB / 0.4925 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04764/0.443, allocations: 8.51 MB / 0.5008 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01217/0.4552, allocations: 5.887 MB / 0.5066 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006348/0.4559, allocations: 0.6584 MB / 0.5072 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00326/0.4592, allocations: 0.8671 MB / 0.508 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0355/0.4947, allocations: 15.98 MB / 0.5236 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003034/0.495, allocations: 7.906 kB / 0.5237 GB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002395/0.4974, allocations: 368 kB / 0.524 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005572/0.498, allocations: 0.5543 MB / 0.5245 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02953/0.5275, allocations: 15.73 MB / 0.5399 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4844/1.012, allocations: 47.71 MB / 0.5865 GB, free: 84.53 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01603/1.028, allocations: 19.34 MB / 0.6054 GB, free: 63.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004431/1.033, allocations: 3.59 MB / 0.6089 GB, free: 59.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004654/1.033, allocations: 178.6 kB / 0.6091 GB, free: 59.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.384e-05/1.033, allocations: 86.56 kB / 0.6091 GB, free: 59.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.853e-06/1.033, allocations: 0 / 0.6091 GB, free: 59.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.02177/1.055, allocations: 11.55 MB / 0.6204 GB, free: 47.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/1.055, allocations: 125.1 kB / 0.6205 GB, free: 47.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006803/1.062, allocations: 3.839 MB / 0.6243 GB, free: 43.58 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007635/1.063, allocations: 105.7 kB / 0.6244 GB, free: 43.47 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002371/1.065, allocations: 3.892 MB / 0.6282 GB, free: 39.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001565/1.067, allocations: 1.609 MB / 0.6298 GB, free: 37.97 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003205/1.07, allocations: 1.468 MB / 0.6312 GB, free: 36.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/1.07, allocations: 309.1 kB / 0.6315 GB, free: 36.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005016/1.075, allocations: 3.684 MB / 0.6351 GB, free: 32.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006503/1.081, allocations: 6.522 MB / 0.6415 GB, free: 24.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/1.093, allocations: 10.83 MB / 0.652 GB, free: 12.51 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.889e-05/1.093, allocations: 28 kB / 0.6521 GB, free: 12.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01859/1.112, allocations: 11.95 MB / 0.6637 GB, free: 472 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.825e-05/1.112, allocations: 44.31 kB / 0.6638 GB, free: 428 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/1.112, allocations: 96 kB / 0.6639 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005054/1.117, allocations: 1.621 MB / 0.6655 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006083/1.123, allocations: 1.669 MB / 0.6671 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02082/1.144, allocations: 17.66 MB / 0.6843 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00623/1.15, allocations: 0.9562 MB / 0.6853 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001399/1.152, allocations: 360 kB / 0.6856 GB, free: 9.199 MB / 494.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.00836/1.16, allocations: 3.75 MB / 0.6893 GB, free: 5.434 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001354/1.161, allocations: 391.1 kB / 0.6896 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01727/1.179, allocations: 8.576 MB / 0.698 GB, free: 12.39 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.063e-05/1.179, allocations: 48 kB / 0.6981 GB, free: 12.34 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-05/1.179, allocations: 12 kB / 0.6981 GB, free: 12.33 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.612e-05/1.179, allocations: 23.91 kB / 0.6981 GB, free: 12.3 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03211/1.211, allocations: 16.78 MB / 0.7145 GB, free: 11.34 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-05/1.211, allocations: 4 kB / 0.7145 GB, free: 11.34 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003785/1.215, allocations: 0.8581 MB / 0.7153 GB, free: 10.48 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004876/1.22, allocations: 1.515 MB / 0.7168 GB, free: 8.941 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008127/1.221, allocations: 111.9 kB / 0.7169 GB, free: 8.832 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02003/1.241, allocations: 17.46 MB / 0.734 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/1.241, allocations: 3.984 kB / 0.734 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2346/1.475, allocations: 12.23 MB / 0.7459 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002292/1.478, allocations: 1.103 MB / 0.747 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006505/1.478, allocations: 87.69 kB / 0.7471 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/1.481, allocations: 305.5 kB / 0.7474 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000639/1.481, allocations: 319.1 kB / 0.7477 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002492/1.482, allocations: 139.4 kB / 0.7478 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003152/1.485, allocations: 2.572 MB / 0.7503 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.81e-07/1.485, allocations: 0 / 0.7503 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006247/1.491, allocations: 2.381 MB / 0.7526 GB, free: 173.3 MB / 0.5294 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.0005624/1.492, allocations: 275.5 kB / 0.7529 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01171/1.503, allocations: 9.375 MB / 0.7621 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/1.503, allocations: 0 / 0.7621 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005878/1.509, allocations: 4.473 MB / 0.7664 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003657/1.513, allocations: 0.739 MB / 0.7671 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02497/1.538, allocations: 16.76 MB / 0.7835 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006018/1.544, allocations: 5.937 MB / 0.7893 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002155/1.546, allocations: 429.2 kB / 0.7897 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/1.546, allocations: 4 kB / 0.7897 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.8157/2.362, allocations: 417.3 MB / 1.197 GB, free: 152.3 MB / 0.545 GB 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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