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.00139/0.00139, allocations: 109.8 kB / 17.06 MB, free: 6.016 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.001627/0.001627, allocations: 191 kB / 18 MB, free: 5.102 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.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008724/0.0008724, allocations: 43.94 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2729, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01125/0.2842, allocations: 10 MB / 410.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006783/0.291, allocations: 3.33 MB / 414.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.2925, allocations: 71.81 kB / 414.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008395/0.3009, allocations: 3.83 MB / 418 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004894/0.3059, allocations: 1.508 MB / 419.5 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002465/0.3083, allocations: 1.047 MB / 420.5 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009528/0.3179, allocations: 9.142 MB / 429.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02616/0.3441, allocations: 20.33 MB / 450 MB, free: 7.391 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007637/0.3518, allocations: 5.054 MB / 455 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01038/0.3622, allocations: 6.087 MB / 461.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004522/0.3667, allocations: 1.395 MB / 462.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005737/0.3725, allocations: 1.629 MB / 464.1 MB, free: 9.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004016/0.3765, allocations: 2.919 MB / 467.1 MB, free: 6.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009301/0.3859, allocations: 5.455 MB / 472.5 MB, free: 0.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02161/0.4075, allocations: 18.89 MB / 491.4 MB, free: 13.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.4076, allocations: 0 / 491.4 MB, free: 13.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4076, allocations: 3.938 kB / 491.4 MB, free: 13.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004568/0.408, allocations: 0 / 491.4 MB, free: 13.85 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.03494/0.443, allocations: 12.45 MB / 0.4921 GB, free: 1.301 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.443, allocations: 12.03 kB / 0.4921 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0479/0.4909, allocations: 8.542 MB / 0.5004 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/0.505, allocations: 5.9 MB / 0.5062 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006231/0.5057, allocations: 0.6584 MB / 0.5068 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004192/0.5099, allocations: 0.8671 MB / 0.5077 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03477/0.5446, allocations: 15.98 MB / 0.5233 GB, free: 1.215 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000258/0.5449, allocations: 7.984 kB / 0.5233 GB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00178/0.5467, allocations: 372 kB / 0.5236 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005115/0.5473, allocations: 0.5621 MB / 0.5242 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03354/0.5808, allocations: 15.72 MB / 0.5395 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4959/1.077, allocations: 47.84 MB / 0.5862 GB, free: 84.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01449/1.091, allocations: 19.34 MB / 0.6051 GB, free: 62.65 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0041/1.095, allocations: 3.593 MB / 0.6086 GB, free: 59.06 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003481/1.096, allocations: 183.5 kB / 0.6088 GB, free: 58.88 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/1.096, allocations: 82.56 kB / 0.6089 GB, free: 58.79 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.102e-06/1.096, allocations: 0 / 0.6089 GB, free: 58.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.02051/1.116, allocations: 11.56 MB / 0.6202 GB, free: 47.1 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/1.116, allocations: 125.1 kB / 0.6203 GB, free: 46.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005478/1.122, allocations: 3.858 MB / 0.6241 GB, free: 43.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007425/1.123, allocations: 101.7 kB / 0.6242 GB, free: 43.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001871/1.125, allocations: 4.046 MB / 0.6281 GB, free: 39.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001534/1.126, allocations: 1.691 MB / 0.6298 GB, free: 37.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00196/1.128, allocations: 1.469 MB / 0.6312 GB, free: 36.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.07e-05/1.128, allocations: 305.1 kB / 0.6315 GB, free: 36.13 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004478/1.133, allocations: 3.684 MB / 0.6351 GB, free: 32.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005576/1.138, allocations: 6.53 MB / 0.6415 GB, free: 24.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/1.149, allocations: 10.83 MB / 0.6521 GB, free: 12.45 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.723e-05/1.149, allocations: 28 kB / 0.6521 GB, free: 12.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01895/1.168, allocations: 11.97 MB / 0.6638 GB, free: 388 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.155e-05/1.168, allocations: 48 kB / 0.6638 GB, free: 340 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/1.168, allocations: 92 kB / 0.6639 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005181/1.173, allocations: 1.617 MB / 0.6655 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006604/1.18, allocations: 1.677 MB / 0.6671 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02199/1.202, allocations: 17.66 MB / 0.6844 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00633/1.208, allocations: 0.982 MB / 0.6853 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001612/1.21, allocations: 360 kB / 0.6857 GB, free: 9.082 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.007272/1.217, allocations: 3.75 MB / 0.6893 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/1.219, allocations: 409.4 kB / 0.6897 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/1.234, allocations: 8.58 MB / 0.6981 GB, free: 12.25 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.023e-05/1.234, allocations: 52 kB / 0.6981 GB, free: 12.2 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.532e-05/1.234, allocations: 12 kB / 0.6982 GB, free: 12.18 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.527e-05/1.234, allocations: 23.91 kB / 0.6982 GB, free: 12.16 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03021/1.264, allocations: 16.79 MB / 0.7146 GB, free: 11.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.714e-05/1.264, allocations: 4 kB / 0.7146 GB, free: 11.19 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003629/1.268, allocations: 0.8581 MB / 0.7154 GB, free: 10.33 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004779/1.273, allocations: 1.527 MB / 0.7169 GB, free: 8.785 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006935/1.273, allocations: 104 kB / 0.717 GB, free: 8.684 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01923/1.293, allocations: 17.47 MB / 0.7341 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.293, allocations: 4 kB / 0.7341 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2747/1.567, allocations: 12.25 MB / 0.746 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004314/1.572, allocations: 1.117 MB / 0.7471 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001587/1.573, allocations: 90.83 kB / 0.7472 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003145/1.576, allocations: 302.1 kB / 0.7475 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007577/1.577, allocations: 327.3 kB / 0.7478 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002733/1.577, allocations: 141.5 kB / 0.748 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003714/1.581, allocations: 2.571 MB / 0.7505 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.581, allocations: 0 / 0.7505 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00749/1.589, allocations: 2.406 MB / 0.7528 GB, free: 173 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.0008405/1.59, allocations: 263.8 kB / 0.7531 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01327/1.603, allocations: 9.39 MB / 0.7622 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/1.603, allocations: 3.938 kB / 0.7622 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006492/1.609, allocations: 4.479 MB / 0.7666 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/1.613, allocations: 0.7414 MB / 0.7673 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0272/1.641, allocations: 17.04 MB / 0.784 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005688/1.646, allocations: 6.047 MB / 0.7899 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00672/1.653, allocations: 3.253 MB / 0.7931 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/1.654, allocations: 373.9 kB / 0.7934 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/1.654, allocations: 3.938 kB / 0.7934 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.09262/1.747, allocations: 65.55 MB / 0.8574 GB, free: 82.72 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