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.001059/0.001059, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001163, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 59.91 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2731, allocations: 50.54 MB / 409.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01036/0.2834, allocations: 10 MB / 419.3 MB, free: 7.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006236/0.2897, allocations: 3.392 MB / 422.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009795/0.2907, allocations: 67.81 kB / 422.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007915/0.2986, allocations: 3.827 MB / 426.5 MB, free: 208 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003833/0.3025, allocations: 1.481 MB / 428 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.3048, allocations: 1.06 MB / 429.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009054/0.3138, allocations: 9.259 MB / 438.3 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0229/0.3367, allocations: 20.34 MB / 458.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006641/0.3434, allocations: 5.066 MB / 463.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008534/0.352, allocations: 6.099 MB / 469.9 MB, free: 4.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002961/0.355, allocations: 1.395 MB / 471.2 MB, free: 3.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004305/0.3593, allocations: 1.66 MB / 472.9 MB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002921/0.3622, allocations: 2.923 MB / 475.8 MB, free: 14.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007037/0.3693, allocations: 5.451 MB / 481.3 MB, free: 9.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01599/0.3853, allocations: 18.85 MB / 0.4884 GB, free: 6.332 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3854, allocations: 0 / 0.4884 GB, free: 6.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3854, allocations: 0 / 0.4884 GB, free: 6.332 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003595/0.3857, allocations: 0 / 0.4884 GB, free: 6.332 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.03275/0.4185, allocations: 12.26 MB / 0.5004 GB, free: 9.988 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.4185, allocations: 8.031 kB / 0.5004 GB, free: 9.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04928/0.4678, allocations: 8.557 MB / 0.5088 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/0.481, allocations: 5.887 MB / 0.5145 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005344/0.4816, allocations: 0.6661 MB / 0.5152 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002981/0.4845, allocations: 0.8632 MB / 0.516 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02923/0.5138, allocations: 15.98 MB / 0.5316 GB, free: 9.891 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001679/0.514, allocations: 15.89 kB / 0.5316 GB, free: 9.875 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001099/0.5151, allocations: 364 kB / 0.532 GB, free: 9.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004867/0.5156, allocations: 0.5543 MB / 0.5325 GB, free: 8.961 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4188/0.9344, allocations: 15.73 MB / 0.5479 GB, free: 108.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06487/0.9993, allocations: 48.51 MB / 0.5952 GB, free: 69.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01452/1.014, allocations: 19.33 MB / 0.6141 GB, free: 48.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003849/1.018, allocations: 3.586 MB / 0.6176 GB, free: 44.71 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003279/1.018, allocations: 261.4 kB / 0.6179 GB, free: 44.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/1.018, allocations: 86.5 kB / 0.618 GB, free: 44.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.382e-06/1.018, allocations: 0 / 0.618 GB, free: 44.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.02016/1.038, allocations: 11.55 MB / 0.6292 GB, free: 32.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/1.038, allocations: 129 kB / 0.6294 GB, free: 32.51 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005114/1.044, allocations: 3.85 MB / 0.6331 GB, free: 28.65 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004537/1.044, allocations: 101.7 kB / 0.6332 GB, free: 28.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001455/1.045, allocations: 3.893 MB / 0.637 GB, free: 24.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001159/1.047, allocations: 1.607 MB / 0.6386 GB, free: 23.04 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001821/1.048, allocations: 1.468 MB / 0.64 GB, free: 21.56 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.981e-05/1.048, allocations: 301.1 kB / 0.6403 GB, free: 21.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004247/1.053, allocations: 3.688 MB / 0.6439 GB, free: 17.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00529/1.058, allocations: 6.521 MB / 0.6503 GB, free: 9.746 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/1.068, allocations: 10.83 MB / 0.6608 GB, free: 13.58 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.576e-05/1.068, allocations: 28 kB / 0.6609 GB, free: 13.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01946/1.088, allocations: 11.96 MB / 0.6726 GB, free: 1.523 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.978e-05/1.088, allocations: 44 kB / 0.6726 GB, free: 1.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001237/1.088, allocations: 92 kB / 0.6727 GB, free: 1.391 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005128/1.093, allocations: 1.62 MB / 0.6743 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005809/1.099, allocations: 1.665 MB / 0.6759 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0194/1.119, allocations: 17.66 MB / 0.6931 GB, free: 11.58 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006068/1.125, allocations: 0.9484 MB / 0.6941 GB, free: 10.62 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001214/1.126, allocations: 360 kB / 0.6944 GB, free: 10.27 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.006155/1.132, allocations: 3.758 MB / 0.6981 GB, free: 6.5 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007354/1.133, allocations: 391 kB / 0.6984 GB, free: 6.113 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/1.148, allocations: 8.573 MB / 0.7068 GB, free: 13.45 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-05/1.148, allocations: 48 kB / 0.7069 GB, free: 13.4 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.06e-05/1.148, allocations: 12 kB / 0.7069 GB, free: 13.39 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.619e-05/1.148, allocations: 23.91 kB / 0.7069 GB, free: 13.37 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02834/1.177, allocations: 16.78 MB / 0.7233 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/1.177, allocations: 7.938 kB / 0.7233 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003521/1.18, allocations: 0.8582 MB / 0.7241 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004923/1.185, allocations: 1.522 MB / 0.7256 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004608/1.186, allocations: 99.98 kB / 0.7257 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/1.205, allocations: 17.46 MB / 0.7428 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.205, allocations: 4 kB / 0.7428 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2644/1.469, allocations: 12.23 MB / 0.7547 GB, free: 182.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002841/1.472, allocations: 1.101 MB / 0.7558 GB, free: 182.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007656/1.473, allocations: 86.78 kB / 0.7559 GB, free: 182.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002601/1.476, allocations: 307.5 kB / 0.7562 GB, free: 182.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000744/1.476, allocations: 318.4 kB / 0.7565 GB, free: 182.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002666/1.477, allocations: 142.5 kB / 0.7566 GB, free: 182.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003324/1.48, allocations: 2.572 MB / 0.7591 GB, free: 181.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/1.48, allocations: 0 / 0.7591 GB, free: 181.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006886/1.487, allocations: 2.387 MB / 0.7614 GB, free: 181.1 MB / 0.545 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.0006866/1.488, allocations: 258.2 kB / 0.7617 GB, free: 181 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01301/1.501, allocations: 9.388 MB / 0.7709 GB, free: 177.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.501, allocations: 3.156 kB / 0.7709 GB, free: 177.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006258/1.507, allocations: 4.468 MB / 0.7752 GB, free: 175.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003691/1.511, allocations: 0.7407 MB / 0.7759 GB, free: 174.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0243/1.535, allocations: 16.82 MB / 0.7924 GB, free: 164.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005539/1.54, allocations: 6.04 MB / 0.7983 GB, free: 159.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006419/1.547, allocations: 3.255 MB / 0.8014 GB, free: 157.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/1.548, allocations: 372.8 kB / 0.8018 GB, free: 157.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.343e-06/1.548, allocations: 3.828 kB / 0.8018 GB, free: 157.4 MB / 0.545 GB Notification: Performance of Templates: time 0.08763/1.636, allocations: 65.6 MB / 0.8659 GB, free: 93.57 MB / 0.545 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