Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.08 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2358, allocations: 50.54 MB / 409.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01108/0.2469, allocations: 10 MB / 419.3 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006599/0.2535, allocations: 3.388 MB / 422.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.2553, allocations: 71.81 kB / 422.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008414/0.2637, allocations: 3.827 MB / 426.6 MB, free: 244 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004178/0.2679, allocations: 1.489 MB / 428 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.2704, allocations: 1.058 MB / 429.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009275/0.2797, allocations: 9.251 MB / 438.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02501/0.3048, allocations: 20.34 MB / 458.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006336/0.3111, allocations: 5.058 MB / 463.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008042/0.3192, allocations: 6.099 MB / 469.8 MB, free: 4.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002514/0.3217, allocations: 1.395 MB / 471.2 MB, free: 3.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.3252, allocations: 1.664 MB / 472.9 MB, free: 1.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002712/0.3279, allocations: 2.923 MB / 475.8 MB, free: 14.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008005/0.3359, allocations: 5.451 MB / 481.3 MB, free: 9.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01693/0.3529, allocations: 18.91 MB / 0.4885 GB, free: 6.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3529, allocations: 0 / 0.4885 GB, free: 6.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3529, allocations: 4 kB / 0.4885 GB, free: 6.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003583/0.3533, allocations: 0 / 0.4885 GB, free: 6.316 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.03155/0.3848, allocations: 12.46 MB / 0.5006 GB, free: 9.766 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3849, allocations: 12.03 kB / 0.5006 GB, free: 9.754 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04825/0.4332, allocations: 8.597 MB / 0.509 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01222/0.4454, allocations: 5.896 MB / 0.5148 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006562/0.4461, allocations: 0.6584 MB / 0.5154 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003127/0.4492, allocations: 0.8671 MB / 0.5163 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03368/0.4829, allocations: 15.98 MB / 0.5319 GB, free: 9.625 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002836/0.4833, allocations: 11.95 kB / 0.5319 GB, free: 9.613 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002552/0.4858, allocations: 368 kB / 0.5322 GB, free: 9.254 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005827/0.4864, allocations: 0.5582 MB / 0.5328 GB, free: 8.691 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4105/0.8969, allocations: 15.72 MB / 0.5481 GB, free: 108.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05879/0.9557, allocations: 48.64 MB / 0.5956 GB, free: 69.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01368/0.9695, allocations: 19.32 MB / 0.6145 GB, free: 48.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003798/0.9733, allocations: 3.59 MB / 0.618 GB, free: 44.45 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003669/0.9737, allocations: 272.4 kB / 0.6183 GB, free: 44.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.9737, allocations: 86.5 kB / 0.6184 GB, free: 44.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.061e-06/0.9737, allocations: 0 / 0.6184 GB, free: 44.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.01914/0.9929, allocations: 11.57 MB / 0.6297 GB, free: 32.37 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.993, allocations: 129.1 kB / 0.6298 GB, free: 32.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005236/0.9982, allocations: 3.85 MB / 0.6335 GB, free: 28.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006207/0.9989, allocations: 101.7 kB / 0.6336 GB, free: 28.33 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001707/1.001, allocations: 4.046 MB / 0.6376 GB, free: 24.72 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00133/1.002, allocations: 1.681 MB / 0.6392 GB, free: 23.06 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001818/1.004, allocations: 1.477 MB / 0.6407 GB, free: 21.58 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.773e-05/1.004, allocations: 301.1 kB / 0.641 GB, free: 21.28 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004176/1.008, allocations: 3.691 MB / 0.6446 GB, free: 17.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005361/1.013, allocations: 6.524 MB / 0.6509 GB, free: 9.758 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/1.024, allocations: 10.83 MB / 0.6615 GB, free: 13.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-05/1.024, allocations: 24 kB / 0.6615 GB, free: 13.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01871/1.043, allocations: 11.97 MB / 0.6732 GB, free: 1.523 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.993e-05/1.043, allocations: 44 kB / 0.6733 GB, free: 1.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/1.043, allocations: 96 kB / 0.6734 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004787/1.048, allocations: 1.617 MB / 0.6749 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005651/1.053, allocations: 1.673 MB / 0.6766 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02015/1.073, allocations: 17.67 MB / 0.6938 GB, free: 11.56 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005639/1.079, allocations: 0.9782 MB / 0.6948 GB, free: 10.58 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/1.08, allocations: 356 kB / 0.6951 GB, free: 10.23 MB / 0.4982 GB 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.006159/1.087, allocations: 3.75 MB / 0.6988 GB, free: 6.465 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007863/1.087, allocations: 413.3 kB / 0.6992 GB, free: 6.059 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/1.102, allocations: 8.573 MB / 0.7076 GB, free: 13.4 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.084e-05/1.102, allocations: 48 kB / 0.7076 GB, free: 13.35 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.012e-05/1.102, allocations: 12 kB / 0.7076 GB, free: 13.34 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-05/1.102, allocations: 27.91 kB / 0.7076 GB, free: 13.31 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02811/1.13, allocations: 16.79 MB / 0.724 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/1.13, allocations: 3.938 kB / 0.724 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003475/1.134, allocations: 0.862 MB / 0.7249 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004644/1.138, allocations: 1.515 MB / 0.7264 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005076/1.139, allocations: 104 kB / 0.7265 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/1.157, allocations: 17.48 MB / 0.7435 GB, free: 7.527 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.157, allocations: 12.09 kB / 0.7435 GB, free: 7.516 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2467/1.403, allocations: 12.25 MB / 0.7555 GB, free: 182.2 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002611/1.406, allocations: 1.121 MB / 0.7566 GB, free: 182.1 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005557/1.407, allocations: 83.31 kB / 0.7567 GB, free: 182.1 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002192/1.409, allocations: 306.2 kB / 0.757 GB, free: 182.1 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006558/1.41, allocations: 322.9 kB / 0.7573 GB, free: 182.1 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002709/1.41, allocations: 138.8 kB / 0.7574 GB, free: 182.1 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.003119/1.413, allocations: 2.573 MB / 0.7599 GB, free: 181.5 MB / 0.5451 GB Notification: Performance of sort global known variables: time 1.6e-07/1.413, allocations: 0 / 0.7599 GB, free: 181.5 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.005882/1.419, allocations: 2.412 MB / 0.7623 GB, free: 181.2 MB / 0.5451 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.0005886/1.419, allocations: 266.4 kB / 0.7625 GB, free: 181.1 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01224/1.432, allocations: 9.389 MB / 0.7717 GB, free: 177.4 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.432, allocations: 0 / 0.7717 GB, free: 177.4 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.006676/1.438, allocations: 4.482 MB / 0.7761 GB, free: 175.3 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003914/1.442, allocations: 0.7375 MB / 0.7768 GB, free: 175 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/1.465, allocations: 17.04 MB / 0.7934 GB, free: 164.3 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00488/1.47, allocations: 6.042 MB / 0.7993 GB, free: 159.6 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.006232/1.477, allocations: 3.251 MB / 0.8025 GB, free: 157.6 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.478, allocations: 373.8 kB / 0.8029 GB, free: 157.2 MB / 0.5451 GB Notification: Performance of SimCode: time 7.71e-07/1.478, allocations: 7.719 kB / 0.8029 GB, free: 157.2 MB / 0.5451 GB Notification: Performance of Templates: time 0.08995/1.568, allocations: 65.6 MB / 0.8669 GB, free: 93.12 MB / 0.5451 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches