Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00083/0.0008301, allocations: 183.8 kB / 16.71 MB, free: 4.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 225.7 MB / 243.2 MB, free: 8.438 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007629/0.0007629, allocations: 88.91 kB / 294.3 MB, free: 9.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002227/0.0002228, allocations: 7.984 kB / 354.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.184, allocations: 50.41 MB / 404.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005829/0.1899, allocations: 8.654 MB / 413.2 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004281/0.1942, allocations: 4.797 MB / 418 MB, free: 17.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005446/0.1947, allocations: 63.81 kB / 418.1 MB, free: 17.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.1961, allocations: 0.704 MB / 418.8 MB, free: 16.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002387/0.1985, allocations: 1.905 MB / 420.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.2001, allocations: 1.729 MB / 422.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005405/0.2055, allocations: 9.083 MB / 431.5 MB, free: 3.594 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02381/0.2293, allocations: 21.82 MB / 453.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004685/0.234, allocations: 3.722 MB / 457.1 MB, free: 9.176 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005336/0.2394, allocations: 4.763 MB / 461.8 MB, free: 4.395 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009996/0.2404, allocations: 0.5781 MB / 462.4 MB, free: 3.816 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.2424, allocations: 0.8044 MB / 463.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001526/0.2439, allocations: 1.892 MB / 465.1 MB, free: 1.113 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004228/0.2481, allocations: 4.332 MB / 469.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01409/0.2622, allocations: 17.73 MB / 487.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.2623, allocations: 0 / 487.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.2623, allocations: 0 / 487.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004497/0.2627, allocations: 0 / 487.2 MB, free: 10.97 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.02527/0.288, allocations: 10.75 MB / 497.9 MB, free: 140 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2881, allocations: 12.03 kB / 497.9 MB, free: 128 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04236/0.3304, allocations: 8.495 MB / 0.4946 GB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01145/0.3419, allocations: 5.941 MB / 0.5004 GB, free: 1.598 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007134/0.3427, allocations: 0.6662 MB / 0.501 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002796/0.3455, allocations: 0.8671 MB / 0.5019 GB, free: 64 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3163/0.6619, allocations: 15.91 MB / 0.5174 GB, free: 74.84 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001512/0.6621, allocations: 6.312 kB / 0.5174 GB, free: 74.84 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008436/0.6629, allocations: 371.8 kB / 0.5178 GB, free: 74.56 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003948/0.6633, allocations: 0.5508 MB / 0.5183 GB, free: 74.51 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0203/0.6836, allocations: 15.64 MB / 0.5336 GB, free: 60.98 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05265/0.7363, allocations: 48.47 MB / 0.5809 GB, free: 11.86 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/0.7512, allocations: 19.26 MB / 0.5997 GB, free: 6.488 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004343/0.7556, allocations: 3.574 MB / 0.6032 GB, free: 2.914 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002993/0.7559, allocations: 183.8 kB / 0.6034 GB, free: 2.734 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/0.7559, allocations: 82.56 kB / 0.6035 GB, free: 2.645 MB / 394.8 MB Notification: Performance of pre-optimization done (n=468): time 7.384e-06/0.756, allocations: 4 kB / 0.6035 GB, free: 2.641 MB / 394.8 MB Notification: Performance of matching and sorting (n=468): time 0.02011/0.7761, allocations: 11.54 MB / 0.6147 GB, free: 6.965 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/0.7762, allocations: 125.1 kB / 0.6149 GB, free: 6.824 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005127/0.7813, allocations: 3.819 MB / 0.6186 GB, free: 2.996 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006918/0.782, allocations: 101.7 kB / 0.6187 GB, free: 2.891 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002282/0.7843, allocations: 3.894 MB / 0.6225 GB, free: 14.98 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001525/0.7858, allocations: 1.606 MB / 0.624 GB, free: 13.39 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003401/0.7862, allocations: 144 kB / 0.6242 GB, free: 13.25 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0003793/0.7866, allocations: 0.6156 MB / 0.6248 GB, free: 12.62 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00496/0.7915, allocations: 3.652 MB / 0.6284 GB, free: 8.969 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006857/0.7984, allocations: 6.492 MB / 0.6347 GB, free: 1.18 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01261/0.811, allocations: 10.79 MB / 0.6452 GB, free: 5.055 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/0.8112, allocations: 24 kB / 0.6452 GB, free: 5.031 MB / 442.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02034/0.8316, allocations: 11.89 MB / 0.6569 GB, free: 9.059 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.794e-05/0.8317, allocations: 47.98 kB / 0.6569 GB, free: 9.012 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/0.8318, allocations: 96 kB / 0.657 GB, free: 8.918 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004366/0.8362, allocations: 1.605 MB / 0.6586 GB, free: 7.293 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005598/0.8418, allocations: 1.665 MB / 0.6602 GB, free: 5.625 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01758/0.8594, allocations: 16.2 MB / 0.676 GB, free: 4.629 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004914/0.8643, allocations: 0.9445 MB / 0.6769 GB, free: 3.676 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/0.8654, allocations: 360 kB / 0.6773 GB, free: 3.324 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.1984/1.064, allocations: 3.751 MB / 0.6809 GB, free: 154.7 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009303/1.065, allocations: 388.2 kB / 0.6813 GB, free: 154.7 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/1.078, allocations: 8.544 MB / 0.6896 GB, free: 153.5 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-05/1.078, allocations: 51.28 kB / 0.6897 GB, free: 153.5 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.152e-05/1.078, allocations: 12.19 kB / 0.6897 GB, free: 153.5 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.453e-05/1.078, allocations: 26.81 kB / 0.6897 GB, free: 153.5 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02189/1.1, allocations: 16.89 MB / 0.7062 GB, free: 147.2 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/1.1, allocations: 3.875 kB / 0.7062 GB, free: 147.2 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002854/1.103, allocations: 0.8529 MB / 0.7071 GB, free: 147.2 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003838/1.107, allocations: 1.503 MB / 0.7085 GB, free: 146.9 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003323/1.107, allocations: 102.7 kB / 0.7086 GB, free: 146.8 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/1.121, allocations: 16.02 MB / 0.7243 GB, free: 134.7 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.121, allocations: 15.81 kB / 0.7243 GB, free: 134.7 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01432/1.135, allocations: 12.16 MB / 0.7362 GB, free: 123.3 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/1.137, allocations: 1.112 MB / 0.7373 GB, free: 122.2 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005042/1.137, allocations: 92.05 kB / 0.7373 GB, free: 122.1 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/1.139, allocations: 307.6 kB / 0.7376 GB, free: 121.8 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006259/1.14, allocations: 319.5 kB / 0.7379 GB, free: 121.5 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002406/1.14, allocations: 136 kB / 0.7381 GB, free: 121.3 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002758/1.143, allocations: 2.551 MB / 0.7406 GB, free: 118.8 MB / 474.8 MB Notification: Performance of sort global known variables: time 5.61e-07/1.143, allocations: 0 / 0.7406 GB, free: 118.8 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.005105/1.148, allocations: 2.373 MB / 0.7429 GB, free: 116.4 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.000459/1.149, allocations: 275 kB / 0.7431 GB, free: 116.1 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01069/1.159, allocations: 9.315 MB / 0.7522 GB, free: 106.7 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/1.159, allocations: 4 kB / 0.7522 GB, free: 106.7 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005441/1.165, allocations: 4.459 MB / 0.7566 GB, free: 102.2 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003649/1.168, allocations: 0.7019 MB / 0.7573 GB, free: 101.5 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/1.19, allocations: 20.79 MB / 0.7776 GB, free: 80.61 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004606/1.195, allocations: 6.042 MB / 0.7835 GB, free: 74.54 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.006825/1.202, allocations: 3.259 MB / 0.7867 GB, free: 71.27 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.203, allocations: 371.4 kB / 0.787 GB, free: 70.91 MB / 474.8 MB Notification: Performance of SimCode: time 5.91e-07/1.203, allocations: 0 / 0.787 GB, free: 70.91 MB / 474.8 MB Notification: Performance of Templates: time 0.08438/1.287, allocations: 64.44 MB / 0.85 GB, free: 6.719 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/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