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.001244/0.001244, allocations: 104.6 kB / 17.16 MB, free: 6.316 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.00124/0.00124, allocations: 190 kB / 18.07 MB, free: 5.414 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.342/1.342, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001139/0.001139, allocations: 47.92 kB / 280 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0818/0.08296, allocations: 46.62 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01046/0.09346, allocations: 9.801 MB / 336.4 MB, free: 11.03 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006578/0.1001, allocations: 3.339 MB / 339.7 MB, free: 7.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.1018, allocations: 59.81 kB / 339.8 MB, free: 7.621 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008005/0.1098, allocations: 3.631 MB / 343.4 MB, free: 3.977 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004046/0.1139, allocations: 1.3 MB / 344.7 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002688/0.1166, allocations: 1.091 MB / 345.8 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009864/0.1265, allocations: 9.075 MB / 354.9 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02347/0.15, allocations: 17.3 MB / 372.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006167/0.1562, allocations: 4.491 MB / 376.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.164/0.3202, allocations: 5.925 MB / 382.6 MB, free: 26.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002919/0.3231, allocations: 1.025 MB / 383.6 MB, free: 26.15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004104/0.3272, allocations: 1.259 MB / 384.9 MB, free: 26.15 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003076/0.3303, allocations: 2.526 MB / 387.4 MB, free: 26.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008874/0.3392, allocations: 5.059 MB / 392.5 MB, free: 25.31 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01536/0.3546, allocations: 18.32 MB / 410.8 MB, free: 14.58 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3547, allocations: 0 / 410.8 MB, free: 14.58 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3547, allocations: 0 / 410.8 MB, free: 14.58 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005356/0.3552, allocations: 0 / 410.8 MB, free: 14.58 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.03057/0.3858, allocations: 12.31 MB / 423.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3859, allocations: 16.88 kB / 423.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04336/0.4292, allocations: 8.458 MB / 431.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/0.4406, allocations: 5.371 MB / 437 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005547/0.4412, allocations: 0.6723 MB / 437.6 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003529/0.4447, allocations: 0.8698 MB / 438.5 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03812/0.4828, allocations: 15.97 MB / 454.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002758/0.4832, allocations: 7.906 kB / 454.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002343/0.4855, allocations: 372.8 kB / 454.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005457/0.4861, allocations: 0.5504 MB / 455.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02785/0.5139, allocations: 15.71 MB / 471.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07555/0.5895, allocations: 48.24 MB / 0.5072 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01957/0.6091, allocations: 19.34 MB / 0.5261 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1653/0.7744, allocations: 3.577 MB / 0.5296 GB, free: 134.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000561/0.775, allocations: 183.6 kB / 0.5297 GB, free: 134.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.393e-05/0.7751, allocations: 83.98 kB / 0.5298 GB, free: 134.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=468): time 6.613e-06/0.7751, allocations: 0.6875 kB / 0.5298 GB, free: 134.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=468): time 0.02287/0.798, allocations: 11.51 MB / 0.5411 GB, free: 131.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.7981, allocations: 129.2 kB / 0.5412 GB, free: 131.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008309/0.8064, allocations: 3.838 MB / 0.5449 GB, free: 130.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001513/0.808, allocations: 101.9 kB / 0.545 GB, free: 130.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002456/0.8105, allocations: 3.894 MB / 0.5488 GB, free: 127.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002184/0.8127, allocations: 1.609 MB / 0.5504 GB, free: 126.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00231/0.815, allocations: 1.476 MB / 0.5518 GB, free: 125.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.8151, allocations: 309.1 kB / 0.5521 GB, free: 125.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004952/0.82, allocations: 3.683 MB / 0.5557 GB, free: 123.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007089/0.8272, allocations: 6.514 MB / 0.5621 GB, free: 118.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.8381, allocations: 10.83 MB / 0.5727 GB, free: 111 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-05/0.8383, allocations: 28 kB / 0.5727 GB, free: 111 MB / 430.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01893/0.8572, allocations: 11.94 MB / 0.5844 GB, free: 100.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.194e-05/0.8573, allocations: 44.31 kB / 0.5844 GB, free: 100.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/0.8574, allocations: 96 kB / 0.5845 GB, free: 100.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004331/0.8618, allocations: 1.61 MB / 0.5861 GB, free: 99.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00592/0.8677, allocations: 1.665 MB / 0.5877 GB, free: 97.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/0.8824, allocations: 16.09 MB / 0.6034 GB, free: 80.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00679/0.8893, allocations: 0.961 MB / 0.6043 GB, free: 79.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002084/0.8914, allocations: 356 kB / 0.6047 GB, free: 79.5 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.007194/0.8986, allocations: 3.758 MB / 0.6084 GB, free: 75.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009022/0.8995, allocations: 391.1 kB / 0.6087 GB, free: 75.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/0.912, allocations: 8.569 MB / 0.6171 GB, free: 66.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.218e-05/0.912, allocations: 52 kB / 0.6171 GB, free: 66.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.293e-05/0.9121, allocations: 12 kB / 0.6172 GB, free: 66.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.305e-05/0.9121, allocations: 31.64 kB / 0.6172 GB, free: 66.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02489/0.937, allocations: 16.92 MB / 0.6337 GB, free: 49.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-05/0.9371, allocations: 8 kB / 0.6337 GB, free: 49.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003328/0.9404, allocations: 0.8581 MB / 0.6346 GB, free: 48.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004193/0.9447, allocations: 1.514 MB / 0.636 GB, free: 47.22 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008268/0.9455, allocations: 99.97 kB / 0.6361 GB, free: 47.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01386/0.9594, allocations: 15.89 MB / 0.6516 GB, free: 30.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.9594, allocations: 11.92 kB / 0.6517 GB, free: 30.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01655/0.976, allocations: 12.22 MB / 0.6636 GB, free: 18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002262/0.9783, allocations: 1.104 MB / 0.6647 GB, free: 16.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005661/0.9789, allocations: 87.98 kB / 0.6648 GB, free: 16.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/0.9809, allocations: 299.7 kB / 0.665 GB, free: 16.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000657/0.9816, allocations: 323.6 kB / 0.6653 GB, free: 16.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/0.9819, allocations: 132 kB / 0.6655 GB, free: 16.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003217/0.9851, allocations: 2.574 MB / 0.668 GB, free: 13.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9851, allocations: 4 kB / 0.668 GB, free: 13.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006457/0.9916, allocations: 2.381 MB / 0.6703 GB, free: 11.07 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.000657/0.9923, allocations: 261.7 kB / 0.6706 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01175/1.004, allocations: 9.344 MB / 0.6797 GB, free: 1.363 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.004, allocations: 0 / 0.6797 GB, free: 1.363 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006833/1.011, allocations: 4.475 MB / 0.6841 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004252/1.015, allocations: 0.7044 MB / 0.6847 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2269/1.242, allocations: 20.75 MB / 0.705 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007577/1.25, allocations: 6.048 MB / 0.7109 GB, free: 129.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008119/1.258, allocations: 3.259 MB / 0.7141 GB, free: 129.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.259, allocations: 373.1 kB / 0.7145 GB, free: 129.6 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/1.259, allocations: 0 / 0.7145 GB, free: 129.6 MB / 446.1 MB Notification: Performance of Templates: time 0.09359/1.353, allocations: 65.71 MB / 0.7786 GB, free: 80.18 MB / 446.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