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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 115.4 kB / 291.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008206/0.0008207, allocations: 32.05 kB / 350 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2081, allocations: 49.45 MB / 399.5 MB, free: 33.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007779/0.2159, allocations: 9.863 MB / 409.4 MB, free: 23.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004887/0.2208, allocations: 3.321 MB / 412.7 MB, free: 20.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006906/0.2215, allocations: 67.81 kB / 412.7 MB, free: 20.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00596/0.2275, allocations: 3.627 MB / 416.4 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002773/0.2303, allocations: 1.404 MB / 417.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.2321, allocations: 0.994 MB / 418.8 MB, free: 14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006507/0.2386, allocations: 9.202 MB / 428 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02142/0.26, allocations: 17.29 MB / 445.3 MB, free: 3.336 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00601/0.2661, allocations: 4.522 MB / 449.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007568/0.2737, allocations: 5.923 MB / 455.7 MB, free: 8.855 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001828/0.2755, allocations: 1.027 MB / 456.7 MB, free: 7.828 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.2782, allocations: 1.261 MB / 458 MB, free: 6.566 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002024/0.2803, allocations: 2.52 MB / 460.5 MB, free: 4.039 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005577/0.2858, allocations: 5.049 MB / 465.6 MB, free: 14.96 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01513/0.301, allocations: 18.48 MB / 484 MB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.301, allocations: 0 / 484 MB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.301, allocations: 0 / 484 MB, free: 12.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003373/0.3014, allocations: 0 / 484 MB, free: 12.44 MB / 362.7 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.03447/0.3359, allocations: 12.31 MB / 496.4 MB, free: 52 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3359, allocations: 8.031 kB / 496.4 MB, free: 44 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04427/0.3802, allocations: 8.464 MB / 0.493 GB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0145/0.3948, allocations: 5.742 MB / 0.4986 GB, free: 1.746 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005676/0.3954, allocations: 0.6701 MB / 0.4993 GB, free: 1.074 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002856/0.3982, allocations: 0.8749 MB / 0.5001 GB, free: 204 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4005/0.7988, allocations: 15.98 MB / 0.5157 GB, free: 76.24 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004412/0.7993, allocations: 6.312 kB / 0.5157 GB, free: 76.24 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003621/0.8029, allocations: 368.8 kB / 0.5161 GB, free: 75.96 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005102/0.8034, allocations: 0.5567 MB / 0.5166 GB, free: 75.85 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03126/0.8347, allocations: 15.72 MB / 0.532 GB, free: 61.84 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08141/0.9162, allocations: 48.26 MB / 0.5791 GB, free: 12.96 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01936/0.9356, allocations: 19.31 MB / 0.5979 GB, free: 7.539 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005778/0.9414, allocations: 3.59 MB / 0.6015 GB, free: 3.949 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007194/0.9422, allocations: 184.2 kB / 0.6016 GB, free: 3.766 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.9423, allocations: 78.56 kB / 0.6017 GB, free: 3.68 MB / 394.8 MB Notification: Performance of pre-optimization done (n=468): time 1.199e-05/0.9424, allocations: 0 / 0.6017 GB, free: 3.68 MB / 394.8 MB Notification: Performance of matching and sorting (n=468): time 0.02625/0.9686, allocations: 11.51 MB / 0.6129 GB, free: 8.039 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.9688, allocations: 129.1 kB / 0.6131 GB, free: 7.895 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008046/0.9768, allocations: 3.839 MB / 0.6168 GB, free: 4.047 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009805/0.9778, allocations: 105.7 kB / 0.6169 GB, free: 3.938 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002891/0.9807, allocations: 3.886 MB / 0.6207 GB, free: 28 kB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002352/0.9831, allocations: 1.619 MB / 0.6223 GB, free: 14.38 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004345/0.9875, allocations: 1.464 MB / 0.6237 GB, free: 12.91 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.9876, allocations: 309.1 kB / 0.624 GB, free: 12.61 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006343/0.9939, allocations: 3.684 MB / 0.6276 GB, free: 8.918 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008654/1.003, allocations: 6.522 MB / 0.634 GB, free: 1.102 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01563/1.018, allocations: 10.82 MB / 0.6446 GB, free: 4.941 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.372e-05/1.018, allocations: 31.94 kB / 0.6446 GB, free: 4.91 MB / 442.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02329/1.042, allocations: 11.94 MB / 0.6562 GB, free: 8.887 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002005/1.042, allocations: 44 kB / 0.6563 GB, free: 8.844 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002419/1.042, allocations: 92 kB / 0.6564 GB, free: 8.754 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005384/1.048, allocations: 1.614 MB / 0.658 GB, free: 7.121 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006684/1.054, allocations: 1.669 MB / 0.6596 GB, free: 5.449 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0196/1.074, allocations: 16.1 MB / 0.6753 GB, free: 4.543 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00679/1.081, allocations: 0.9562 MB / 0.6762 GB, free: 3.578 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001523/1.082, allocations: 356 kB / 0.6766 GB, free: 3.23 MB / 474.8 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.222/1.304, allocations: 3.748 MB / 0.6802 GB, free: 155.4 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008456/1.305, allocations: 390.2 kB / 0.6806 GB, free: 155.4 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/1.32, allocations: 8.578 MB / 0.689 GB, free: 154.3 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.253e-05/1.32, allocations: 52.23 kB / 0.689 GB, free: 154.3 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.723e-05/1.32, allocations: 12.28 kB / 0.689 GB, free: 154.3 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-05/1.32, allocations: 27.44 kB / 0.6891 GB, free: 154.3 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02687/1.347, allocations: 16.93 MB / 0.7056 GB, free: 148.1 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/1.347, allocations: 0 / 0.7056 GB, free: 148.1 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003135/1.35, allocations: 0.8612 MB / 0.7064 GB, free: 148 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00435/1.354, allocations: 1.498 MB / 0.7079 GB, free: 147.7 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003756/1.355, allocations: 112.3 kB / 0.708 GB, free: 147.7 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01475/1.37, allocations: 15.9 MB / 0.7235 GB, free: 135.4 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.37, allocations: 4 kB / 0.7235 GB, free: 135.4 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02731/1.397, allocations: 19.39 MB / 0.7425 GB, free: 116.6 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002564/1.4, allocations: 1.103 MB / 0.7436 GB, free: 115.5 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005115/1.4, allocations: 84 kB / 0.7436 GB, free: 115.4 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/1.403, allocations: 310.6 kB / 0.7439 GB, free: 115.1 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008366/1.404, allocations: 316.3 kB / 0.7442 GB, free: 114.8 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002677/1.404, allocations: 140 kB / 0.7444 GB, free: 114.6 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.00383/1.408, allocations: 2.578 MB / 0.7469 GB, free: 112.1 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.6e-07/1.408, allocations: 0 / 0.7469 GB, free: 112.1 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007681/1.415, allocations: 2.573 MB / 0.7494 GB, free: 109.5 MB / 474.8 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.00083/1.416, allocations: 263.1 kB / 0.7496 GB, free: 109.2 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01397/1.43, allocations: 9.349 MB / 0.7588 GB, free: 99.76 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/1.43, allocations: 5.875 kB / 0.7588 GB, free: 99.75 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007093/1.437, allocations: 4.467 MB / 0.7631 GB, free: 95.21 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004854/1.442, allocations: 0.7056 MB / 0.7638 GB, free: 94.52 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03555/1.478, allocations: 23.27 MB / 0.7866 GB, free: 71.15 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01021/1.488, allocations: 6.174 MB / 0.7926 GB, free: 64.94 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.009157/1.497, allocations: 3.259 MB / 0.7958 GB, free: 61.67 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00206/1.499, allocations: 375.3 kB / 0.7961 GB, free: 61.3 MB / 474.8 MB Notification: Performance of SimCode: time 1.162e-06/1.499, allocations: 0 / 0.7961 GB, free: 61.3 MB / 474.8 MB Notification: Performance of Templates: time 0.3403/1.84, allocations: 67.75 MB / 0.8623 GB, free: 134.6 MB / 474.8 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../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