Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009404/0.0009404, allocations: 192.2 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007378/0.0007378, allocations: 95.56 kB / 299.9 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000228/0.000228, allocations: 4 kB / 360.7 MB, free: 8.469 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2712, allocations: 51.41 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00656/0.2779, allocations: 8.659 MB / 420.7 MB, free: 17.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005626/0.2835, allocations: 5.239 MB / 426 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008754/0.2844, allocations: 63.81 kB / 426 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.2859, allocations: 0.6963 MB / 426.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003137/0.2891, allocations: 1.83 MB / 428.6 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.2909, allocations: 1.734 MB / 430.3 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007443/0.2984, allocations: 9.223 MB / 439.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02897/0.3274, allocations: 21.82 MB / 461.3 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005848/0.3333, allocations: 3.718 MB / 465.1 MB, free: 3.188 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007322/0.3406, allocations: 4.748 MB / 469.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002175/0.3429, allocations: 0.582 MB / 470.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/0.3466, allocations: 0.8318 MB / 471.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003219/0.3499, allocations: 1.892 MB / 473.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006393/0.3563, allocations: 4.332 MB / 477.4 MB, free: 6.75 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01737/0.3737, allocations: 17.74 MB / 495.2 MB, free: 4.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.3737, allocations: 0 / 495.2 MB, free: 4.957 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.3737, allocations: 0 / 495.2 MB, free: 4.957 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0007135/0.3745, allocations: 0 / 495.2 MB, free: 4.957 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.02867/0.4031, allocations: 10.77 MB / 0.4941 GB, free: 10.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4032, allocations: 8.031 kB / 0.4941 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04494/0.4481, allocations: 8.549 MB / 0.5024 GB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3529/0.801, allocations: 5.937 MB / 0.5082 GB, free: 73.91 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008599/0.802, allocations: 0.6621 MB / 0.5089 GB, free: 73.61 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003976/0.806, allocations: 0.8668 MB / 0.5097 GB, free: 73.33 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03651/0.8425, allocations: 15.91 MB / 0.5253 GB, free: 66.94 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000426/0.843, allocations: 12.05 kB / 0.5253 GB, free: 66.93 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00294/0.8459, allocations: 375.6 kB / 0.5256 GB, free: 66.57 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004835/0.8464, allocations: 0.5544 MB / 0.5262 GB, free: 66.02 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02839/0.8748, allocations: 15.64 MB / 0.5415 GB, free: 50.35 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06663/0.9415, allocations: 49.26 MB / 0.5896 GB, free: 192 kB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01794/0.9594, allocations: 19.29 MB / 0.6084 GB, free: 10.79 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005196/0.9647, allocations: 3.566 MB / 0.6119 GB, free: 7.227 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004721/0.9652, allocations: 253.4 kB / 0.6121 GB, free: 6.957 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.282e-05/0.9653, allocations: 98.42 kB / 0.6122 GB, free: 6.852 MB / 410.8 MB Notification: Performance of pre-optimization done (n=468): time 6.322e-06/0.9653, allocations: 0 / 0.6122 GB, free: 6.852 MB / 410.8 MB Notification: Performance of matching and sorting (n=468): time 0.0219/0.9872, allocations: 11.53 MB / 0.6235 GB, free: 11.18 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.9873, allocations: 129 kB / 0.6236 GB, free: 11.04 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005828/0.9931, allocations: 3.819 MB / 0.6273 GB, free: 7.211 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008635/0.994, allocations: 101.7 kB / 0.6274 GB, free: 7.105 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002826/0.9969, allocations: 3.896 MB / 0.6312 GB, free: 3.195 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00194/0.9988, allocations: 1.606 MB / 0.6328 GB, free: 1.602 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004402/0.9993, allocations: 152 kB / 0.6329 GB, free: 1.453 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0004509/0.9997, allocations: 0.6039 MB / 0.6335 GB, free: 0.8438 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005382/1.005, allocations: 3.656 MB / 0.6371 GB, free: 13.18 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007777/1.013, allocations: 6.496 MB / 0.6435 GB, free: 5.391 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01396/1.027, allocations: 10.78 MB / 0.654 GB, free: 9.27 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.183e-05/1.027, allocations: 32 kB / 0.654 GB, free: 9.238 MB / 458.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02157/1.049, allocations: 11.88 MB / 0.6656 GB, free: 13.29 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.501e-05/1.049, allocations: 44 kB / 0.6657 GB, free: 13.24 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/1.049, allocations: 96 kB / 0.6657 GB, free: 13.15 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004721/1.054, allocations: 1.613 MB / 0.6673 GB, free: 11.52 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006086/1.06, allocations: 1.665 MB / 0.6689 GB, free: 9.848 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.209/1.269, allocations: 16.18 MB / 0.6847 GB, free: 147.7 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006342/1.275, allocations: 0.9499 MB / 0.6857 GB, free: 147.4 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/1.276, allocations: 360.5 kB / 0.686 GB, free: 147.3 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.005675/1.282, allocations: 3.758 MB / 0.6897 GB, free: 145.7 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006621/1.283, allocations: 395.9 kB / 0.6901 GB, free: 145.6 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/1.296, allocations: 8.545 MB / 0.6984 GB, free: 142.5 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.331e-05/1.296, allocations: 46.28 kB / 0.6985 GB, free: 142.5 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.716e-05/1.296, allocations: 12.53 kB / 0.6985 GB, free: 142.5 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.076e-05/1.296, allocations: 29.31 kB / 0.6985 GB, free: 142.5 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02694/1.323, allocations: 16.88 MB / 0.715 GB, free: 136.2 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/1.323, allocations: 7.391 kB / 0.715 GB, free: 136.2 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003348/1.326, allocations: 0.8617 MB / 0.7158 GB, free: 136.1 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004202/1.331, allocations: 1.502 MB / 0.7173 GB, free: 135.7 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007638/1.331, allocations: 102.8 kB / 0.7174 GB, free: 135.6 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01411/1.346, allocations: 16 MB / 0.733 GB, free: 119.9 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.346, allocations: 7.031 kB / 0.733 GB, free: 119.9 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01622/1.362, allocations: 12.17 MB / 0.7449 GB, free: 107.5 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002388/1.364, allocations: 1.112 MB / 0.746 GB, free: 106.4 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/1.365, allocations: 95.92 kB / 0.7461 GB, free: 106.3 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002914/1.368, allocations: 303.7 kB / 0.7464 GB, free: 106 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001059/1.369, allocations: 319.6 kB / 0.7467 GB, free: 105.7 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005853/1.37, allocations: 140 kB / 0.7468 GB, free: 105.5 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004633/1.375, allocations: 2.551 MB / 0.7493 GB, free: 103 MB / 474.8 MB Notification: Performance of sort global known variables: time 3.81e-07/1.375, allocations: 0 / 0.7493 GB, free: 103 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.008432/1.383, allocations: 2.373 MB / 0.7516 GB, free: 100.6 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.001019/1.384, allocations: 280.3 kB / 0.7519 GB, free: 100.3 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01397/1.398, allocations: 9.315 MB / 0.761 GB, free: 90.92 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.398, allocations: 0 / 0.761 GB, free: 90.92 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006953/1.405, allocations: 4.463 MB / 0.7654 GB, free: 86.38 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005622/1.411, allocations: 0.7065 MB / 0.766 GB, free: 85.68 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02931/1.44, allocations: 20.8 MB / 0.7863 GB, free: 64.82 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006352/1.447, allocations: 6.044 MB / 0.7923 GB, free: 58.75 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.007363/1.454, allocations: 3.259 MB / 0.7954 GB, free: 55.48 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/1.455, allocations: 375.4 kB / 0.7958 GB, free: 55.12 MB / 474.8 MB Notification: Performance of SimCode: time 8.72e-07/1.455, allocations: 0 / 0.7958 GB, free: 55.12 MB / 474.8 MB Notification: Performance of Templates: time 0.2829/1.738, allocations: 64.47 MB / 0.8588 GB, free: 139.5 MB / 474.8 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches