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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001561/0.001561, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.001579, allocations: 207.9 kB / 19.25 MB, free: 3.898 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.416/1.416, allocations: 227.7 MB / 247.7 MB, free: 10.3 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.001926/0.001926, allocations: 68.98 kB / 307.9 MB, free: 484 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09829, allocations: 50.53 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01192/0.1102, allocations: 10.01 MB / 368.4 MB, free: 3.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006681/0.117, allocations: 3.396 MB / 371.8 MB, free: 468 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.1182, allocations: 75.75 kB / 371.9 MB, free: 392 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1788/0.297, allocations: 3.817 MB / 375.7 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005491/0.3025, allocations: 1.479 MB / 377.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.3055, allocations: 1.053 MB / 378.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01131/0.3168, allocations: 9.192 MB / 387.5 MB, free: 5.598 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03243/0.3493, allocations: 20.43 MB / 407.9 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01144/0.3608, allocations: 5.05 MB / 412.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01175/0.3726, allocations: 6.132 MB / 419.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004471/0.3771, allocations: 1.398 MB / 420.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006556/0.3837, allocations: 1.655 MB / 422.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005517/0.3892, allocations: 2.923 MB / 425 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01284/0.4021, allocations: 5.449 MB / 430.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0252/0.4273, allocations: 18.77 MB / 449.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.4274, allocations: 0 / 449.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4274, allocations: 0 / 449.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000476/0.4279, allocations: 0 / 449.3 MB, free: 15.49 MB / 366.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.04055/0.4684, allocations: 12.31 MB / 461.6 MB, free: 3.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4685, allocations: 8.031 kB / 461.6 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05142/0.5199, allocations: 8.51 MB / 470.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01498/0.5349, allocations: 5.757 MB / 475.9 MB, free: 4.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000942/0.5359, allocations: 0.665 MB / 476.5 MB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004306/0.5403, allocations: 0.8674 MB / 477.4 MB, free: 3.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04627/0.5865, allocations: 15.98 MB / 493.4 MB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002895/0.5869, allocations: 11.91 kB / 493.4 MB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00239/0.5893, allocations: 369.2 kB / 493.7 MB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006769/0.59, allocations: 0.5583 MB / 494.3 MB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03268/0.6227, allocations: 15.72 MB / 0.4981 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4042/1.027, allocations: 49.04 MB / 0.546 GB, free: 109.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01781/1.045, allocations: 19.32 MB / 0.5648 GB, free: 96.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004563/1.049, allocations: 3.589 MB / 0.5683 GB, free: 96.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003902/1.05, allocations: 267 kB / 0.5686 GB, free: 95.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/1.05, allocations: 84.92 kB / 0.5687 GB, free: 95.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.412e-06/1.05, allocations: 0 / 0.5687 GB, free: 95.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02122/1.071, allocations: 11.54 MB / 0.5799 GB, free: 91.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/1.071, allocations: 126.5 kB / 0.5801 GB, free: 91.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005425/1.077, allocations: 3.844 MB / 0.5838 GB, free: 90.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005089/1.077, allocations: 104.8 kB / 0.5839 GB, free: 90.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001995/1.079, allocations: 3.894 MB / 0.5877 GB, free: 87.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001372/1.081, allocations: 1.613 MB / 0.5893 GB, free: 85.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001943/1.082, allocations: 1.464 MB / 0.5907 GB, free: 85.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.55e-05/1.083, allocations: 309 kB / 0.591 GB, free: 84.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004752/1.087, allocations: 3.684 MB / 0.5946 GB, free: 82.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006348/1.094, allocations: 6.527 MB / 0.601 GB, free: 77.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/1.105, allocations: 10.83 MB / 0.6116 GB, free: 67.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/1.105, allocations: 28 kB / 0.6116 GB, free: 67.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02041/1.125, allocations: 11.95 MB / 0.6233 GB, free: 55.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.77e-05/1.125, allocations: 44 kB / 0.6233 GB, free: 54.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000132/1.125, allocations: 92 kB / 0.6234 GB, free: 54.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004581/1.13, allocations: 1.63 MB / 0.625 GB, free: 53.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005866/1.136, allocations: 1.673 MB / 0.6266 GB, free: 51.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/1.152, allocations: 17.68 MB / 0.6439 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006278/1.158, allocations: 0.9601 MB / 0.6448 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/1.159, allocations: 360 kB / 0.6452 GB, free: 31.74 MB / 446.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.006558/1.166, allocations: 3.758 MB / 0.6488 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009272/1.167, allocations: 387.1 kB / 0.6492 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/1.18, allocations: 8.577 MB / 0.6576 GB, free: 18.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/1.18, allocations: 48 kB / 0.6576 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.124e-05/1.18, allocations: 19.94 kB / 0.6576 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-05/1.18, allocations: 23.91 kB / 0.6577 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02599/1.206, allocations: 16.94 MB / 0.6742 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/1.206, allocations: 4 kB / 0.6742 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003214/1.209, allocations: 0.8581 MB / 0.675 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004591/1.214, allocations: 1.534 MB / 0.6765 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005526/1.214, allocations: 95.98 kB / 0.6766 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02163/1.236, allocations: 17.47 MB / 0.6937 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.236, allocations: 3.938 kB / 0.6937 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02169/1.258, allocations: 12.24 MB / 0.7056 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.212/1.47, allocations: 1.095 MB / 0.7067 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00129/1.471, allocations: 86.55 kB / 0.7068 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00322/1.474, allocations: 305.5 kB / 0.7071 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000963/1.475, allocations: 319.8 kB / 0.7074 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003308/1.476, allocations: 137.5 kB / 0.7075 GB, free: 144.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004861/1.48, allocations: 2.579 MB / 0.71 GB, free: 144 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.61e-07/1.48, allocations: 0 / 0.71 GB, free: 144 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01082/1.491, allocations: 2.38 MB / 0.7124 GB, free: 143.8 MB / 478.1 MB 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.001485/1.493, allocations: 268.3 kB / 0.7126 GB, free: 143.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03674/1.53, allocations: 15.48 MB / 0.7277 GB, free: 141.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.589e-05/1.53, allocations: 3.812 kB / 0.7277 GB, free: 141.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007967/1.538, allocations: 4.477 MB / 0.7321 GB, free: 139.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004298/1.542, allocations: 0.7314 MB / 0.7328 GB, free: 139.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0354/1.577, allocations: 16.95 MB / 0.7494 GB, free: 129.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009885/1.587, allocations: 5.942 MB / 0.7552 GB, free: 125 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002803/1.59, allocations: 428.5 kB / 0.7556 GB, free: 124.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.292e-06/1.59, allocations: 0 / 0.7556 GB, free: 124.6 MB / 478.1 MB Notification: Performance of Templates: time 0.8081/2.398, allocations: 416.5 MB / 1.162 GB, free: 80.36 MB / 494.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (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) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/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) Reference file matches