Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008939/0.000894, allocations: 94.11 kB / 17.3 MB, free: 6.344 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.0008704/0.0008708, allocations: 180 kB / 18.21 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004233/0.0004234, allocations: 12 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08103/0.08146, allocations: 47.59 MB / 329 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.009009/0.09051, allocations: 9.164 MB / 338.1 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00678/0.09733, allocations: 3.296 MB / 341.4 MB, free: 7.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.0987, allocations: 55.81 kB / 341.5 MB, free: 7.176 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.1005, allocations: 0.7001 MB / 342.2 MB, free: 6.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003745/0.1043, allocations: 1.3 MB / 343.5 MB, free: 5.168 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.1066, allocations: 1.072 MB / 344.6 MB, free: 4.094 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009656/0.1162, allocations: 9.068 MB / 353.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0274/0.1437, allocations: 18.97 MB / 372.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005181/0.1489, allocations: 3.574 MB / 376.2 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1613/0.3102, allocations: 4.714 MB / 380.9 MB, free: 24.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00197/0.3122, allocations: 0.5812 MB / 381.5 MB, free: 24.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.3151, allocations: 0.8163 MB / 382.3 MB, free: 24.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001634/0.3168, allocations: 1.891 MB / 384.2 MB, free: 24.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007219/0.324, allocations: 4.34 MB / 388.5 MB, free: 23.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01727/0.3413, allocations: 17.58 MB / 406.1 MB, free: 16.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3414, allocations: 0 / 406.1 MB, free: 16.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3414, allocations: 0 / 406.1 MB, free: 16.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004203/0.3418, allocations: 0 / 406.1 MB, free: 16.88 MB / 318.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.0269/0.3687, allocations: 10.77 MB / 416.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3688, allocations: 7.656 kB / 416.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04508/0.4139, allocations: 8.494 MB / 425.4 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/0.4242, allocations: 5.563 MB / 430.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004799/0.4247, allocations: 0.6604 MB / 431.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003211/0.4279, allocations: 0.8711 MB / 432.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03491/0.4628, allocations: 15.98 MB / 448.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002274/0.4631, allocations: 11.91 kB / 448.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001444/0.4645, allocations: 366.8 kB / 448.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005098/0.4651, allocations: 0.5582 MB / 449.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0311/0.4962, allocations: 15.71 MB / 465.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08365/0.5799, allocations: 48.46 MB / 0.5015 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02032/0.6002, allocations: 19.32 MB / 0.5204 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005867/0.6061, allocations: 3.594 MB / 0.5239 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004668/0.6066, allocations: 181.1 kB / 0.524 GB, free: 4.945 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.792e-05/0.6067, allocations: 85.84 kB / 0.5241 GB, free: 4.855 MB / 430.1 MB Notification: Performance of pre-optimization done (n=468): time 6.392e-06/0.6067, allocations: 0 / 0.5241 GB, free: 4.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=468): time 0.1991/0.8059, allocations: 11.58 MB / 0.5354 GB, free: 123.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/0.806, allocations: 127.4 kB / 0.5356 GB, free: 123.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007272/0.8133, allocations: 3.843 MB / 0.5393 GB, free: 123.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006785/0.814, allocations: 104.2 kB / 0.5394 GB, free: 123.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001604/0.8156, allocations: 3.893 MB / 0.5432 GB, free: 120.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001317/0.8169, allocations: 1.605 MB / 0.5448 GB, free: 119.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007112/0.8176, allocations: 0.5781 MB / 0.5453 GB, free: 119.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.637e-05/0.8177, allocations: 301.1 kB / 0.5456 GB, free: 119.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004475/0.8222, allocations: 3.684 MB / 0.5492 GB, free: 118.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00527/0.8275, allocations: 6.524 MB / 0.5556 GB, free: 113.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/0.8378, allocations: 10.83 MB / 0.5662 GB, free: 106.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.59e-05/0.8379, allocations: 26.44 kB / 0.5662 GB, free: 106.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01762/0.8555, allocations: 11.95 MB / 0.5779 GB, free: 98.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.218e-05/0.8556, allocations: 44 kB / 0.5779 GB, free: 98.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/0.8558, allocations: 92 kB / 0.578 GB, free: 97.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004305/0.8601, allocations: 1.614 MB / 0.5796 GB, free: 96.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005363/0.8654, allocations: 1.66 MB / 0.5812 GB, free: 95.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/0.8802, allocations: 16.23 MB / 0.597 GB, free: 78.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006631/0.8869, allocations: 0.9551 MB / 0.598 GB, free: 77.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/0.8883, allocations: 364 kB / 0.5983 GB, free: 76.82 MB / 430.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.00705/0.8954, allocations: 3.752 MB / 0.602 GB, free: 73.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007473/0.8962, allocations: 391.1 kB / 0.6024 GB, free: 72.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/0.9089, allocations: 8.562 MB / 0.6107 GB, free: 64.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-05/0.909, allocations: 55.61 kB / 0.6108 GB, free: 64.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.754e-05/0.909, allocations: 15.98 kB / 0.6108 GB, free: 64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-05/0.909, allocations: 27.84 kB / 0.6108 GB, free: 63.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02414/0.9332, allocations: 16.92 MB / 0.6273 GB, free: 47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.9332, allocations: 8.531 kB / 0.6273 GB, free: 46.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003165/0.9364, allocations: 0.8581 MB / 0.6282 GB, free: 46.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004231/0.9407, allocations: 1.511 MB / 0.6297 GB, free: 44.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005526/0.9412, allocations: 107.9 kB / 0.6298 GB, free: 44.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/0.9552, allocations: 16.02 MB / 0.6454 GB, free: 27.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.9553, allocations: 4 kB / 0.6454 GB, free: 27.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/0.9714, allocations: 12.23 MB / 0.6573 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/0.9734, allocations: 1.116 MB / 0.6584 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005654/0.974, allocations: 84 kB / 0.6585 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/0.9763, allocations: 307.7 kB / 0.6588 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006346/0.977, allocations: 323.5 kB / 0.6591 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000255/0.9772, allocations: 140 kB / 0.6592 GB, free: 13.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003178/0.9804, allocations: 2.578 MB / 0.6618 GB, free: 10.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9804, allocations: 0 / 0.6618 GB, free: 10.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006353/0.9868, allocations: 2.376 MB / 0.6641 GB, free: 8.305 MB / 430.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.0006969/0.9875, allocations: 253.7 kB / 0.6643 GB, free: 8.051 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01354/1.001, allocations: 9.355 MB / 0.6735 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.517e-06/1.001, allocations: 2.406 kB / 0.6735 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007834/1.009, allocations: 4.482 MB / 0.6778 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004999/1.014, allocations: 0.7056 MB / 0.6785 GB, free: 9.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03195/1.046, allocations: 20.79 MB / 0.6988 GB, free: 4.492 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1838/1.23, allocations: 6.051 MB / 0.7047 GB, free: 146.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.008139/1.238, allocations: 3.253 MB / 0.7079 GB, free: 146.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/1.24, allocations: 371.7 kB / 0.7083 GB, free: 146.8 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/1.24, allocations: 1.281 kB / 0.7083 GB, free: 146.8 MB / 462.1 MB Notification: Performance of Templates: time 0.09607/1.336, allocations: 64.4 MB / 0.7712 GB, free: 104.6 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches