Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000912/0.0009121, allocations: 178.1 kB / 17.36 MB, free: 4.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.235/1.235, allocations: 205.6 MB / 223.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007309/0.0007308, allocations: 90.61 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002869, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2491, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.007903/0.257, allocations: 8.585 MB / 385.2 MB, free: 38.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007064/0.2642, allocations: 4.823 MB / 390 MB, free: 34.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.2653, allocations: 57.28 kB / 390.1 MB, free: 34.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.2671, allocations: 0.6994 MB / 390.8 MB, free: 33.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003317/0.2704, allocations: 1.668 MB / 392.4 MB, free: 32.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.2726, allocations: 1.961 MB / 394.4 MB, free: 29.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007102/0.2797, allocations: 9.092 MB / 403.5 MB, free: 20.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02323/0.303, allocations: 21.81 MB / 425.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00712/0.3101, allocations: 3.726 MB / 429 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007365/0.3175, allocations: 4.748 MB / 433.8 MB, free: 5.668 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001885/0.3195, allocations: 0.582 MB / 434.4 MB, free: 5.086 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/0.3233, allocations: 0.8083 MB / 435.2 MB, free: 4.277 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002608/0.3259, allocations: 1.892 MB / 437.1 MB, free: 2.379 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007651/0.3336, allocations: 4.336 MB / 441.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01902/0.3526, allocations: 17.57 MB / 459 MB, free: 12.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.3527, allocations: 0 / 459 MB, free: 12.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.077e-06/0.3527, allocations: 0 / 459 MB, free: 12.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006214/0.3533, allocations: 0 / 459 MB, free: 12.38 MB / 346.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.02844/0.3818, allocations: 10.76 MB / 469.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3818, allocations: 12.03 kB / 469.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04336/0.4252, allocations: 8.498 MB / 478.2 MB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01386/0.4391, allocations: 5.563 MB / 483.8 MB, free: 3.387 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008607/0.44, allocations: 0.6623 MB / 484.5 MB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004092/0.4442, allocations: 0.8749 MB / 485.3 MB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04048/0.4847, allocations: 15.9 MB / 0.4895 GB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000322/0.4851, allocations: 11.91 kB / 0.4895 GB, free: 1.898 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002986/0.488, allocations: 368 kB / 0.4899 GB, free: 1.539 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006546/0.4887, allocations: 0.5621 MB / 0.4904 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3925/0.8812, allocations: 15.64 MB / 0.5057 GB, free: 91.17 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06562/0.9469, allocations: 48.45 MB / 0.553 GB, free: 44.7 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01481/0.9617, allocations: 19.3 MB / 0.5718 GB, free: 23.3 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004252/0.966, allocations: 3.57 MB / 0.5753 GB, free: 19.72 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003149/0.9663, allocations: 177.8 kB / 0.5755 GB, free: 19.55 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/0.9664, allocations: 86.12 kB / 0.5756 GB, free: 19.46 MB / 378.8 MB Notification: Performance of pre-optimization done (n=468): time 6.212e-06/0.9664, allocations: 0 / 0.5756 GB, free: 19.46 MB / 378.8 MB Notification: Performance of matching and sorting (n=468): time 0.01912/0.9855, allocations: 11.54 MB / 0.5869 GB, free: 7.781 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.9856, allocations: 129.1 kB / 0.587 GB, free: 7.637 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005053/0.9907, allocations: 3.819 MB / 0.5907 GB, free: 3.809 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005987/0.9913, allocations: 101.7 kB / 0.5908 GB, free: 3.703 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001676/0.993, allocations: 3.892 MB / 0.5946 GB, free: 15.79 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001722/0.9947, allocations: 1.611 MB / 0.5962 GB, free: 14.2 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000368/0.9951, allocations: 148 kB / 0.5963 GB, free: 14.05 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.000443/0.9956, allocations: 0.6078 MB / 0.5969 GB, free: 13.44 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005385/1.001, allocations: 3.652 MB / 0.6005 GB, free: 9.781 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00746/1.008, allocations: 6.504 MB / 0.6068 GB, free: 1.98 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01333/1.022, allocations: 10.77 MB / 0.6173 GB, free: 5.867 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-05/1.022, allocations: 28 kB / 0.6174 GB, free: 5.84 MB / 410.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02149/1.043, allocations: 11.89 MB / 0.629 GB, free: 9.875 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/1.044, allocations: 44 kB / 0.629 GB, free: 9.832 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/1.044, allocations: 92 kB / 0.6291 GB, free: 9.742 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004535/1.048, allocations: 1.608 MB / 0.6307 GB, free: 8.113 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005872/1.054, allocations: 1.665 MB / 0.6323 GB, free: 6.445 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/1.073, allocations: 16.2 MB / 0.6481 GB, free: 5.453 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007018/1.08, allocations: 0.9523 MB / 0.6491 GB, free: 4.492 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001604/1.082, allocations: 364 kB / 0.6494 GB, free: 4.137 MB / 442.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.008442/1.09, allocations: 3.754 MB / 0.6531 GB, free: 380 kB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2174/1.307, allocations: 387.6 kB / 0.6534 GB, free: 141 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/1.322, allocations: 8.543 MB / 0.6618 GB, free: 139.5 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.143e-05/1.322, allocations: 52.28 kB / 0.6618 GB, free: 139.5 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.669e-05/1.322, allocations: 11.66 kB / 0.6618 GB, free: 139.5 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.269e-05/1.322, allocations: 26.58 kB / 0.6619 GB, free: 139.5 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0275/1.35, allocations: 16.89 MB / 0.6784 GB, free: 133.3 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/1.35, allocations: 0 / 0.6784 GB, free: 133.3 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003213/1.353, allocations: 0.8581 MB / 0.6792 GB, free: 133.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004046/1.357, allocations: 1.504 MB / 0.6807 GB, free: 132.9 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005742/1.358, allocations: 105.8 kB / 0.6808 GB, free: 132.9 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01395/1.372, allocations: 16 MB / 0.6964 GB, free: 120.6 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.372, allocations: 7.875 kB / 0.6964 GB, free: 120.5 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/1.387, allocations: 12.17 MB / 0.7083 GB, free: 108.3 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002347/1.389, allocations: 1.112 MB / 0.7094 GB, free: 107.2 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005991/1.39, allocations: 88 kB / 0.7095 GB, free: 107.1 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/1.392, allocations: 307.7 kB / 0.7097 GB, free: 106.8 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007514/1.393, allocations: 323.5 kB / 0.7101 GB, free: 106.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/1.393, allocations: 136 kB / 0.7102 GB, free: 106.3 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003644/1.397, allocations: 2.551 MB / 0.7127 GB, free: 103.8 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.5e-07/1.397, allocations: 0 / 0.7127 GB, free: 103.8 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.006977/1.404, allocations: 2.377 MB / 0.715 GB, free: 101.4 MB / 442.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.0007693/1.405, allocations: 272 kB / 0.7153 GB, free: 101.1 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01262/1.417, allocations: 9.316 MB / 0.7244 GB, free: 91.72 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/1.417, allocations: 384 / 0.7244 GB, free: 91.72 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005908/1.423, allocations: 4.463 MB / 0.7287 GB, free: 87.18 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00473/1.428, allocations: 0.7094 MB / 0.7294 GB, free: 86.48 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02759/1.456, allocations: 20.79 MB / 0.7497 GB, free: 65.63 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005027/1.461, allocations: 6.049 MB / 0.7556 GB, free: 59.55 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.007416/1.468, allocations: 3.251 MB / 0.7588 GB, free: 56.29 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/1.469, allocations: 379.3 kB / 0.7591 GB, free: 55.92 MB / 442.8 MB Notification: Performance of SimCode: time 1.543e-06/1.469, allocations: 0 / 0.7591 GB, free: 55.92 MB / 442.8 MB Notification: Performance of Templates: time 0.2875/1.757, allocations: 64.4 MB / 0.822 GB, free: 142.4 MB / 458.8 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