Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001499/0.0015, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00172/0.00172, allocations: 204.7 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.446/1.446, allocations: 227.7 MB / 247.2 MB, free: 10.21 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.89 kB / 359 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2421, allocations: 50.55 MB / 409.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01165/0.2538, allocations: 10 MB / 419.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007421/0.2612, allocations: 3.392 MB / 423 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.2631, allocations: 75.75 kB / 423.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008864/0.272, allocations: 3.825 MB / 426.9 MB, free: 44 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004378/0.2764, allocations: 1.48 MB / 428.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002506/0.2789, allocations: 1.051 MB / 429.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01015/0.289, allocations: 9.255 MB / 438.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02852/0.3176, allocations: 20.33 MB / 459 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007452/0.3251, allocations: 5.066 MB / 464.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009742/0.3349, allocations: 6.095 MB / 470.2 MB, free: 4.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003713/0.3386, allocations: 1.398 MB / 471.5 MB, free: 3.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005233/0.3439, allocations: 1.668 MB / 473.2 MB, free: 1.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003709/0.3476, allocations: 2.919 MB / 476.1 MB, free: 14.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008742/0.3563, allocations: 5.451 MB / 481.6 MB, free: 9.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0208/0.3772, allocations: 18.9 MB / 0.4888 GB, free: 6.141 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3772, allocations: 0 / 0.4888 GB, free: 6.141 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3772, allocations: 3.938 kB / 0.4888 GB, free: 6.137 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004448/0.3777, allocations: 4 kB / 0.4888 GB, free: 6.133 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.03686/0.4145, allocations: 12.46 MB / 0.5009 GB, free: 9.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.4146, allocations: 8.031 kB / 0.5009 GB, free: 9.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05022/0.4649, allocations: 8.425 MB / 0.5092 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01272/0.4776, allocations: 5.915 MB / 0.5149 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007864/0.4784, allocations: 0.6623 MB / 0.5156 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004682/0.4831, allocations: 0.8632 MB / 0.5164 GB, free: 9.625 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03976/0.5229, allocations: 16.02 MB / 0.5321 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004223/0.5234, allocations: 15.95 kB / 0.5321 GB, free: 9.543 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003936/0.5273, allocations: 364 kB / 0.5324 GB, free: 9.188 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006746/0.528, allocations: 0.5582 MB / 0.533 GB, free: 8.625 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4547/0.9828, allocations: 15.77 MB / 0.5484 GB, free: 107.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07029/1.053, allocations: 48.67 MB / 0.5959 GB, free: 69.15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01561/1.069, allocations: 19.35 MB / 0.6148 GB, free: 47.71 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004377/1.073, allocations: 3.594 MB / 0.6183 GB, free: 44.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005339/1.074, allocations: 304.2 kB / 0.6186 GB, free: 43.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.096e-05/1.074, allocations: 86.56 kB / 0.6187 GB, free: 43.72 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.843e-06/1.074, allocations: 0 / 0.6187 GB, free: 43.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.0234/1.097, allocations: 11.61 MB / 0.63 GB, free: 31.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/1.097, allocations: 125.1 kB / 0.6302 GB, free: 31.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006267/1.104, allocations: 3.854 MB / 0.6339 GB, free: 28.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008979/1.105, allocations: 105.7 kB / 0.634 GB, free: 27.94 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001976/1.107, allocations: 4.041 MB / 0.638 GB, free: 24.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001782/1.108, allocations: 1.683 MB / 0.6396 GB, free: 22.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003633/1.112, allocations: 1.492 MB / 0.6411 GB, free: 21.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.74e-05/1.112, allocations: 305.1 kB / 0.6414 GB, free: 20.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005122/1.117, allocations: 3.691 MB / 0.645 GB, free: 17.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006376/1.124, allocations: 6.532 MB / 0.6513 GB, free: 9.324 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/1.136, allocations: 10.85 MB / 0.6619 GB, free: 13.14 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001051/1.136, allocations: 24 kB / 0.662 GB, free: 13.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02539/1.162, allocations: 12.01 MB / 0.6737 GB, free: 1.027 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/1.162, allocations: 44 kB / 0.6737 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000166/1.162, allocations: 92 kB / 0.6738 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005385/1.167, allocations: 1.617 MB / 0.6754 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00656/1.174, allocations: 1.677 MB / 0.677 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02212/1.196, allocations: 17.68 MB / 0.6943 GB, free: 11.06 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005857/1.202, allocations: 0.9626 MB / 0.6952 GB, free: 10.09 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001347/1.203, allocations: 367.9 kB / 0.6956 GB, free: 9.73 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.007132/1.21, allocations: 3.75 MB / 0.6993 GB, free: 5.965 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/1.212, allocations: 417.3 kB / 0.6997 GB, free: 5.555 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0171/1.229, allocations: 8.577 MB / 0.708 GB, free: 12.89 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.25e-05/1.229, allocations: 48 kB / 0.7081 GB, free: 12.84 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.356e-05/1.229, allocations: 12 kB / 0.7081 GB, free: 12.83 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-05/1.229, allocations: 23.91 kB / 0.7081 GB, free: 12.8 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0335/1.262, allocations: 16.83 MB / 0.7246 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.152e-05/1.262, allocations: 7.938 kB / 0.7246 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003788/1.266, allocations: 0.8698 MB / 0.7254 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00513/1.271, allocations: 1.522 MB / 0.7269 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000651/1.272, allocations: 108 kB / 0.727 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02211/1.294, allocations: 17.48 MB / 0.7441 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.294, allocations: 4 kB / 0.7441 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2753/1.569, allocations: 12.29 MB / 0.7561 GB, free: 181.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002397/1.572, allocations: 1.128 MB / 0.7572 GB, free: 181.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005732/1.572, allocations: 85.62 kB / 0.7573 GB, free: 181.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/1.575, allocations: 297.9 kB / 0.7575 GB, free: 181.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007285/1.575, allocations: 324.8 kB / 0.7579 GB, free: 181.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002798/1.576, allocations: 146.7 kB / 0.758 GB, free: 181.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003775/1.58, allocations: 2.576 MB / 0.7605 GB, free: 181.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.58, allocations: 0 / 0.7605 GB, free: 181.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007628/1.587, allocations: 2.405 MB / 0.7629 GB, free: 180.8 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.000722/1.588, allocations: 279.3 kB / 0.7631 GB, free: 180.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01299/1.601, allocations: 9.405 MB / 0.7723 GB, free: 176.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.601, allocations: 0 / 0.7723 GB, free: 176.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006339/1.607, allocations: 4.493 MB / 0.7767 GB, free: 174.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003698/1.611, allocations: 0.7391 MB / 0.7774 GB, free: 174.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/1.635, allocations: 16.93 MB / 0.7939 GB, free: 163.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005112/1.64, allocations: 6.041 MB / 0.7998 GB, free: 159 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006224/1.646, allocations: 3.253 MB / 0.803 GB, free: 157 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/1.648, allocations: 401.4 kB / 0.8034 GB, free: 156.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.512e-06/1.648, allocations: 3.828 kB / 0.8034 GB, free: 156.6 MB / 0.545 GB Notification: Performance of Templates: time 0.09191/1.74, allocations: 64.55 MB / 0.8664 GB, free: 93.56 MB / 0.545 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches