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.001095/0.001095, allocations: 108.3 kB / 17.74 MB, free: 5.34 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.001369/0.001369, allocations: 187 kB / 18.67 MB, free: 4.414 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.358/1.358, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 43.94 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2969, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01187/0.3088, allocations: 9.993 MB / 411.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007361/0.3162, allocations: 3.334 MB / 414.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.3179, allocations: 71.75 kB / 414.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008374/0.3263, allocations: 3.827 MB / 418.6 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00437/0.3307, allocations: 1.512 MB / 420.2 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.3332, allocations: 1.044 MB / 421.2 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009085/0.3423, allocations: 9.142 MB / 430.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02605/0.3684, allocations: 20.33 MB / 450.7 MB, free: 7.359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006386/0.3748, allocations: 5.07 MB / 455.7 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008768/0.3836, allocations: 6.071 MB / 461.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003346/0.387, allocations: 1.398 MB / 463.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004915/0.3919, allocations: 1.633 MB / 464.8 MB, free: 9.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004397/0.3963, allocations: 2.927 MB / 467.8 MB, free: 6.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009525/0.4059, allocations: 5.455 MB / 473.2 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02037/0.4263, allocations: 18.83 MB / 492 MB, free: 13.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4263, allocations: 0 / 492 MB, free: 13.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.4263, allocations: 8 kB / 492.1 MB, free: 13.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004894/0.4268, allocations: 3.938 kB / 492.1 MB, free: 13.86 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.03807/0.4649, allocations: 12.25 MB / 0.4925 GB, free: 1.523 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.465, allocations: 8.031 kB / 0.4925 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04839/0.5134, allocations: 8.51 MB / 0.5008 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01278/0.5262, allocations: 5.875 MB / 0.5065 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007093/0.5269, allocations: 0.6662 MB / 0.5072 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003848/0.5308, allocations: 0.8632 MB / 0.508 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03923/0.5701, allocations: 15.99 MB / 0.5237 GB, free: 1.484 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003677/0.5705, allocations: 11.91 kB / 0.5237 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002821/0.5733, allocations: 368 kB / 0.524 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005888/0.5739, allocations: 0.5582 MB / 0.5246 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03432/0.6082, allocations: 15.72 MB / 0.5399 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4435/1.052, allocations: 47.71 MB / 0.5865 GB, free: 84.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01487/1.067, allocations: 19.34 MB / 0.6054 GB, free: 63.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004339/1.071, allocations: 3.594 MB / 0.6089 GB, free: 59.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004492/1.071, allocations: 180.2 kB / 0.6091 GB, free: 59.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.76e-05/1.072, allocations: 94.44 kB / 0.6092 GB, free: 59.15 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 7.164e-06/1.072, allocations: 0 / 0.6092 GB, free: 59.15 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.02191/1.093, allocations: 11.54 MB / 0.6204 GB, free: 47.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/1.094, allocations: 133 kB / 0.6206 GB, free: 47.33 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005903/1.099, allocations: 3.842 MB / 0.6243 GB, free: 43.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006243/1.1, allocations: 105.7 kB / 0.6244 GB, free: 43.37 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001758/1.102, allocations: 3.892 MB / 0.6282 GB, free: 39.46 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001322/1.103, allocations: 1.608 MB / 0.6298 GB, free: 37.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002644/1.106, allocations: 1.468 MB / 0.6312 GB, free: 36.39 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.504e-05/1.106, allocations: 301.1 kB / 0.6315 GB, free: 36.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004431/1.11, allocations: 3.691 MB / 0.6351 GB, free: 32.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005531/1.116, allocations: 6.518 MB / 0.6415 GB, free: 24.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/1.127, allocations: 10.83 MB / 0.652 GB, free: 12.42 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.506e-05/1.127, allocations: 28 kB / 0.6521 GB, free: 12.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01913/1.146, allocations: 11.95 MB / 0.6637 GB, free: 372 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/1.146, allocations: 44 kB / 0.6638 GB, free: 328 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001572/1.146, allocations: 95.98 kB / 0.6639 GB, free: 232 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004998/1.151, allocations: 1.621 MB / 0.6655 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006601/1.158, allocations: 1.669 MB / 0.6671 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02163/1.179, allocations: 17.65 MB / 0.6843 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006013/1.185, allocations: 0.9522 MB / 0.6853 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001392/1.187, allocations: 360 kB / 0.6856 GB, free: 9.102 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.007827/1.195, allocations: 3.758 MB / 0.6893 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/1.196, allocations: 387.1 kB / 0.6896 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01876/1.215, allocations: 8.576 MB / 0.698 GB, free: 12.29 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.916e-05/1.215, allocations: 48 kB / 0.6981 GB, free: 12.24 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.788e-05/1.215, allocations: 12 kB / 0.6981 GB, free: 12.23 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001202/1.215, allocations: 23.91 kB / 0.6981 GB, free: 12.2 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03725/1.252, allocations: 16.78 MB / 0.7145 GB, free: 11.24 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.658e-05/1.252, allocations: 4 kB / 0.7145 GB, free: 11.24 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004076/1.256, allocations: 0.862 MB / 0.7153 GB, free: 10.38 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005167/1.262, allocations: 1.511 MB / 0.7168 GB, free: 8.844 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001046/1.263, allocations: 111.9 kB / 0.7169 GB, free: 8.734 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02095/1.284, allocations: 17.46 MB / 0.734 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.53e-05/1.284, allocations: 7.938 kB / 0.734 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2518/1.536, allocations: 12.23 MB / 0.7459 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/1.538, allocations: 1.096 MB / 0.747 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005686/1.538, allocations: 87.23 kB / 0.7471 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/1.541, allocations: 302.8 kB / 0.7474 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006454/1.542, allocations: 322 kB / 0.7477 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002673/1.542, allocations: 145.2 kB / 0.7478 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003121/1.545, allocations: 2.572 MB / 0.7503 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/1.545, allocations: 0 / 0.7503 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00607/1.551, allocations: 2.385 MB / 0.7526 GB, free: 173.4 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.0006193/1.552, allocations: 263.6 kB / 0.7529 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.012/1.564, allocations: 9.38 MB / 0.7621 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.564, allocations: 3.938 kB / 0.7621 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006092/1.57, allocations: 4.475 MB / 0.7664 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003644/1.574, allocations: 0.732 MB / 0.7671 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02446/1.598, allocations: 16.77 MB / 0.7835 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005136/1.603, allocations: 5.934 MB / 0.7893 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001956/1.605, allocations: 429.4 kB / 0.7897 GB, free: 149.8 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/1.605, allocations: 0 / 0.7897 GB, free: 149.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.7497/2.355, allocations: 418.4 MB / 1.198 GB, free: 151.2 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/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