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.001653/0.001653, allocations: 113.7 kB / 17.07 MB, free: 5.961 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.00189/0.00189, allocations: 198.8 kB / 18 MB, free: 5.051 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.415/1.415, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 47.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2998, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01167/0.3115, allocations: 10 MB / 410.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007298/0.3188, allocations: 3.322 MB / 414.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.3203, allocations: 71.81 kB / 414.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008561/0.3289, allocations: 3.851 MB / 418 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004818/0.3337, allocations: 1.512 MB / 419.5 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.3363, allocations: 1.052 MB / 420.5 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01073/0.3471, allocations: 9.134 MB / 429.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03105/0.3782, allocations: 20.33 MB / 450 MB, free: 7.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008182/0.3864, allocations: 5.062 MB / 455.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01103/0.3975, allocations: 6.083 MB / 461.1 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004434/0.4019, allocations: 1.398 MB / 462.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00586/0.4078, allocations: 1.633 MB / 464.2 MB, free: 9.145 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005565/0.4134, allocations: 2.923 MB / 467.1 MB, free: 6.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00991/0.4233, allocations: 5.455 MB / 472.6 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01984/0.4432, allocations: 18.83 MB / 491.4 MB, free: 13.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4433, allocations: 0 / 491.4 MB, free: 13.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4433, allocations: 0 / 491.4 MB, free: 13.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005063/0.4438, allocations: 0 / 491.4 MB, free: 13.86 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.03805/0.4818, allocations: 12.25 MB / 0.4918 GB, free: 1.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.4819, allocations: 8.031 kB / 0.4919 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04496/0.5269, allocations: 8.506 MB / 0.5002 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.5401, allocations: 5.89 MB / 0.5059 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006203/0.5408, allocations: 0.6584 MB / 0.5066 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003932/0.5447, allocations: 0.8671 MB / 0.5074 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03934/0.5841, allocations: 15.98 MB / 0.523 GB, free: 1.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003063/0.5844, allocations: 11.91 kB / 0.523 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002702/0.5872, allocations: 368 kB / 0.5234 GB, free: 1.109 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005855/0.5877, allocations: 0.5543 MB / 0.5239 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03243/0.6202, allocations: 15.73 MB / 0.5393 GB, free: 0.793 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3708/0.9911, allocations: 47.71 MB / 0.5859 GB, free: 86.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01373/1.005, allocations: 19.35 MB / 0.6048 GB, free: 65.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004223/1.009, allocations: 3.59 MB / 0.6083 GB, free: 61.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003603/1.009, allocations: 181.8 kB / 0.6084 GB, free: 61.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/1.01, allocations: 86.55 kB / 0.6085 GB, free: 61.22 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.271e-06/1.01, allocations: 0 / 0.6085 GB, free: 61.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.01969/1.029, allocations: 11.54 MB / 0.6198 GB, free: 49.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/1.029, allocations: 125.1 kB / 0.6199 GB, free: 49.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004758/1.034, allocations: 3.85 MB / 0.6237 GB, free: 45.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004135/1.035, allocations: 101.7 kB / 0.6238 GB, free: 45.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001611/1.036, allocations: 3.891 MB / 0.6276 GB, free: 41.54 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001039/1.037, allocations: 1.605 MB / 0.6291 GB, free: 39.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001701/1.039, allocations: 1.468 MB / 0.6306 GB, free: 38.47 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.468e-05/1.039, allocations: 305.1 kB / 0.6309 GB, free: 38.17 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004058/1.043, allocations: 3.691 MB / 0.6345 GB, free: 34.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005689/1.049, allocations: 6.526 MB / 0.6408 GB, free: 26.65 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/1.059, allocations: 10.82 MB / 0.6514 GB, free: 14.49 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.783e-05/1.059, allocations: 24 kB / 0.6514 GB, free: 14.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01666/1.076, allocations: 11.95 MB / 0.6631 GB, free: 2.438 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/1.076, allocations: 51.98 kB / 0.6632 GB, free: 2.387 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001286/1.076, allocations: 92 kB / 0.6632 GB, free: 2.297 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004194/1.08, allocations: 1.617 MB / 0.6648 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006091/1.086, allocations: 1.673 MB / 0.6665 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/1.106, allocations: 17.65 MB / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006311/1.112, allocations: 0.9484 MB / 0.6846 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/1.113, allocations: 368 kB / 0.685 GB, free: 11.18 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.006613/1.12, allocations: 3.75 MB / 0.6886 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008851/1.121, allocations: 391.1 kB / 0.689 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01483/1.136, allocations: 8.572 MB / 0.6974 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.377e-05/1.136, allocations: 52 kB / 0.6974 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.769e-05/1.136, allocations: 15.94 kB / 0.6974 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-05/1.136, allocations: 27.89 kB / 0.6975 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03193/1.168, allocations: 16.78 MB / 0.7139 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/1.168, allocations: 4 kB / 0.7139 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003871/1.172, allocations: 0.8581 MB / 0.7147 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004804/1.177, allocations: 1.523 MB / 0.7162 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008263/1.177, allocations: 107.9 kB / 0.7163 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0189/1.196, allocations: 17.45 MB / 0.7333 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.196, allocations: 4 kB / 0.7333 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3391/1.536, allocations: 12.24 MB / 0.7453 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002909/1.538, allocations: 1.098 MB / 0.7464 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004964/1.539, allocations: 84.41 kB / 0.7464 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002217/1.541, allocations: 306.3 kB / 0.7467 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008314/1.542, allocations: 323 kB / 0.747 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002902/1.542, allocations: 134.8 kB / 0.7472 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003669/1.546, allocations: 2.575 MB / 0.7497 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/1.546, allocations: 2.719 kB / 0.7497 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008586/1.555, allocations: 2.384 MB / 0.752 GB, free: 175.9 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.0007027/1.555, allocations: 263.2 kB / 0.7523 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01362/1.569, allocations: 9.379 MB / 0.7614 GB, free: 172 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/1.569, allocations: 0 / 0.7614 GB, free: 172 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00641/1.575, allocations: 4.47 MB / 0.7658 GB, free: 170 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003846/1.579, allocations: 0.7448 MB / 0.7665 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02683/1.606, allocations: 16.82 MB / 0.7829 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005652/1.612, allocations: 6.049 MB / 0.7888 GB, free: 153 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006729/1.619, allocations: 3.249 MB / 0.792 GB, free: 151 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.62, allocations: 377.6 kB / 0.7924 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.443e-06/1.62, allocations: 0 / 0.7924 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.1001/1.72, allocations: 65.56 MB / 0.8564 GB, free: 87.29 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/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