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.001041/0.001041, allocations: 104.4 kB / 18.35 MB, free: 4.621 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.0009541/0.0009541, allocations: 190.9 kB / 19.29 MB, free: 3.688 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.347/1.347, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001228/0.001228, allocations: 51.92 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1021, allocations: 46.62 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01144/0.1136, allocations: 9.93 MB / 338.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007438/0.1211, allocations: 3.346 MB / 342 MB, free: 6.398 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/0.1231, allocations: 63.81 kB / 342.1 MB, free: 6.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00907/0.1322, allocations: 3.824 MB / 345.9 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00505/0.1373, allocations: 1.423 MB / 347.3 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.1402, allocations: 1.133 MB / 348.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01081/0.151, allocations: 9.142 MB / 357.6 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0286/0.1797, allocations: 20.32 MB / 377.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2031/0.3828, allocations: 5.053 MB / 383 MB, free: 27.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01165/0.3945, allocations: 6.086 MB / 389.1 MB, free: 27.22 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005986/0.4005, allocations: 1.396 MB / 390.5 MB, free: 27.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007268/0.4078, allocations: 1.638 MB / 392.1 MB, free: 27.22 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004563/0.4124, allocations: 2.92 MB / 395 MB, free: 26.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01036/0.4228, allocations: 5.458 MB / 400.5 MB, free: 22.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01403/0.4368, allocations: 18.68 MB / 419.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4369, allocations: 0 / 419.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4369, allocations: 0 / 419.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004423/0.4373, allocations: 0 / 419.2 MB, free: 11.11 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.03525/0.4726, allocations: 12.27 MB / 431.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.4727, allocations: 8.031 kB / 431.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04842/0.5211, allocations: 8.502 MB / 439.9 MB, free: 7.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/0.5359, allocations: 5.386 MB / 445.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007345/0.5367, allocations: 0.6585 MB / 446 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004466/0.5412, allocations: 0.8656 MB / 446.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03997/0.5812, allocations: 15.98 MB / 462.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003784/0.5816, allocations: 11.91 kB / 462.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003211/0.5848, allocations: 370.9 kB / 463.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006325/0.5854, allocations: 0.5534 MB / 463.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03306/0.6185, allocations: 15.72 MB / 479.5 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08566/0.7042, allocations: 47.71 MB / 0.5148 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2184/0.9226, allocations: 19.35 MB / 0.5337 GB, free: 127.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00632/0.929, allocations: 3.588 MB / 0.5372 GB, free: 127.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006222/0.9297, allocations: 183 kB / 0.5374 GB, free: 127.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.133e-05/0.9298, allocations: 85.78 kB / 0.5375 GB, free: 127.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=468): time 9.438e-06/0.9298, allocations: 0 / 0.5375 GB, free: 127.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=468): time 0.02741/0.9572, allocations: 11.56 MB / 0.5488 GB, free: 123.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.9573, allocations: 132.1 kB / 0.5489 GB, free: 123.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007133/0.9645, allocations: 3.834 MB / 0.5526 GB, free: 122.4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006918/0.9652, allocations: 102.5 kB / 0.5527 GB, free: 122.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002038/0.9672, allocations: 3.893 MB / 0.5565 GB, free: 119.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001532/0.9688, allocations: 1.606 MB / 0.5581 GB, free: 118.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002078/0.9708, allocations: 1.467 MB / 0.5595 GB, free: 117.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.097e-05/0.9709, allocations: 312.1 kB / 0.5598 GB, free: 117.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004508/0.9754, allocations: 3.681 MB / 0.5634 GB, free: 115.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005545/0.981, allocations: 6.526 MB / 0.5698 GB, free: 111 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01067/0.9917, allocations: 10.83 MB / 0.5804 GB, free: 103.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.258e-05/0.9918, allocations: 25.88 kB / 0.5804 GB, free: 103.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.018/1.01, allocations: 11.95 MB / 0.5921 GB, free: 93.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.84e-05/1.01, allocations: 48 kB / 0.5921 GB, free: 93.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001656/1.01, allocations: 92 kB / 0.5922 GB, free: 93.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004474/1.015, allocations: 1.624 MB / 0.5938 GB, free: 91.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005824/1.02, allocations: 1.665 MB / 0.5954 GB, free: 90.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01629/1.037, allocations: 17.65 MB / 0.6126 GB, free: 71.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006048/1.043, allocations: 0.9561 MB / 0.6136 GB, free: 70.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001614/1.044, allocations: 363.9 kB / 0.6139 GB, free: 70.41 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.007225/1.052, allocations: 3.75 MB / 0.6176 GB, free: 66.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001269/1.053, allocations: 398.7 kB / 0.618 GB, free: 66.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/1.068, allocations: 8.557 MB / 0.6263 GB, free: 57.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/1.068, allocations: 55.98 kB / 0.6264 GB, free: 57.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.466e-05/1.068, allocations: 12 kB / 0.6264 GB, free: 57.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.457e-05/1.068, allocations: 27.91 kB / 0.6264 GB, free: 57.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0318/1.1, allocations: 16.78 MB / 0.6428 GB, free: 40.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.158e-05/1.1, allocations: 8.188 kB / 0.6428 GB, free: 40.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003514/1.103, allocations: 0.862 MB / 0.6436 GB, free: 39.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004255/1.108, allocations: 1.511 MB / 0.6451 GB, free: 38.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006114/1.108, allocations: 104 kB / 0.6452 GB, free: 38.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01561/1.124, allocations: 17.45 MB / 0.6623 GB, free: 19.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.124, allocations: 7.766 kB / 0.6623 GB, free: 19.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01885/1.143, allocations: 12.23 MB / 0.6742 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00319/1.146, allocations: 1.1 MB / 0.6753 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001233/1.147, allocations: 91.94 kB / 0.6754 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003081/1.15, allocations: 307.6 kB / 0.6757 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009078/1.151, allocations: 315.6 kB / 0.676 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004364/1.152, allocations: 140 kB / 0.6761 GB, free: 5.508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004782/1.156, allocations: 2.574 MB / 0.6786 GB, free: 2.938 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.156, allocations: 0 / 0.6786 GB, free: 2.938 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00901/1.165, allocations: 2.373 MB / 0.6809 GB, free: 0.5547 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.0007786/1.166, allocations: 265.6 kB / 0.6812 GB, free: 296 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01601/1.182, allocations: 9.388 MB / 0.6904 GB, free: 6.793 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.182, allocations: 0 / 0.6904 GB, free: 6.793 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007638/1.19, allocations: 4.472 MB / 0.6947 GB, free: 2.242 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004938/1.195, allocations: 0.7309 MB / 0.6954 GB, free: 1.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.22/1.415, allocations: 16.81 MB / 0.7119 GB, free: 132.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0105/1.425, allocations: 6.043 MB / 0.7178 GB, free: 131.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008681/1.434, allocations: 3.256 MB / 0.7209 GB, free: 131.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002014/1.436, allocations: 378 kB / 0.7213 GB, free: 131.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/1.436, allocations: 0 / 0.7213 GB, free: 131.1 MB / 446.1 MB Notification: Performance of Templates: time 0.09216/1.528, allocations: 62.71 MB / 0.7826 GB, free: 80.71 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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