Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.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.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.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.000851/0.000851, allocations: 178.6 kB / 17.36 MB, free: 4.445 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.378/1.378, allocations: 205.6 MB / 223.7 MB, free: 8.934 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.0007574/0.0007578, allocations: 100 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002274/0.0002276, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2219, allocations: 47.58 MB / 376.6 MB, free: 45.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005135/0.2271, allocations: 3.984 MB / 380.6 MB, free: 42.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003609/0.2307, allocations: 2.496 MB / 383.1 MB, free: 40.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003753/0.2311, allocations: 22.06 kB / 383.1 MB, free: 40.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006599/0.2318, allocations: 221.8 kB / 383.3 MB, free: 39.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.2337, allocations: 1.009 MB / 384.3 MB, free: 38.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006338/0.2344, allocations: 275.4 kB / 384.6 MB, free: 38.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003071/0.2374, allocations: 2.18 MB / 386.8 MB, free: 37.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.2392, allocations: 1.054 MB / 387.8 MB, free: 36.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008345/0.24, allocations: 0.603 MB / 388.4 MB, free: 36.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009905/0.241, allocations: 0.8556 MB / 389.3 MB, free: 35.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.2412, allocations: 84 kB / 389.4 MB, free: 35.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006278/0.2418, allocations: 203.9 kB / 389.6 MB, free: 35.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003715/0.2422, allocations: 418.5 kB / 390 MB, free: 34.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007774/0.243, allocations: 0.7906 MB / 390.8 MB, free: 33.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.2451, allocations: 2.407 MB / 393.2 MB, free: 31.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2452, allocations: 0 / 393.2 MB, free: 31.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2452, allocations: 0 / 393.2 MB, free: 31.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.2452, allocations: 4 kB / 393.2 MB, free: 31.52 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004724/0.2499, allocations: 1.914 MB / 395.1 MB, free: 29.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.25, allocations: 8.031 kB / 395.1 MB, free: 29.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/0.2522, allocations: 366.6 kB / 395.5 MB, free: 29.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.2541, allocations: 1.04 MB / 396.5 MB, free: 28.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.69e-05/0.2542, allocations: 103 kB / 396.6 MB, free: 28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/0.2544, allocations: 136.1 kB / 396.7 MB, free: 27.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00369/0.2581, allocations: 1.886 MB / 398.6 MB, free: 25.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.2582, allocations: 0 / 398.6 MB, free: 25.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.2583, allocations: 52 kB / 398.7 MB, free: 25.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.158e-05/0.2584, allocations: 49.98 kB / 398.7 MB, free: 25.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003387/0.2618, allocations: 1.699 MB / 400.4 MB, free: 24.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009778/0.2716, allocations: 5.63 MB / 406.1 MB, free: 18.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003174/0.2748, allocations: 2.916 MB / 409 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009117/0.2758, allocations: 0.4992 MB / 409.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002585/0.2784, allocations: 1.547 MB / 411 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.2784, allocations: 38.56 kB / 411.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=53): time 3.417e-06/0.2784, allocations: 0 / 411.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=53): time 0.003907/0.2823, allocations: 1.459 MB / 412.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.2824, allocations: 85.05 kB / 412.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.2839, allocations: 1.024 MB / 413.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.2839, allocations: 33.7 kB / 413.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004228/0.2844, allocations: 0.6774 MB / 414.3 MB, free: 9.418 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.2845, allocations: 193.3 kB / 414.5 MB, free: 9.227 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.2846, allocations: 12.28 kB / 414.5 MB, free: 9.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.599e-05/0.2846, allocations: 342 kB / 414.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000736/0.2854, allocations: 365 kB / 415.2 MB, free: 8.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008236/0.2862, allocations: 0.5326 MB / 415.8 MB, free: 7.918 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.2878, allocations: 0.8907 MB / 416.6 MB, free: 6.961 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.2878, allocations: 4 kB / 416.6 MB, free: 6.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001941/0.2897, allocations: 1.025 MB / 417.7 MB, free: 5.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.2898, allocations: 8.062 kB / 417.7 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.2898, allocations: 8 kB / 417.7 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.2898, allocations: 11.94 kB / 417.7 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.2908, allocations: 191.7 kB / 417.9 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.2909, allocations: 11.98 kB / 417.9 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006983/0.2916, allocations: 91.25 kB / 418 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/0.2917, allocations: 35.98 kB / 418 MB, free: 5.574 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00078/0.2925, allocations: 0.5177 MB / 418.5 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.2927, allocations: 90.97 kB / 418.6 MB, free: 4.957 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.2942, allocations: 0.6941 MB / 419.3 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.2942, allocations: 4 kB / 419.3 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.2942, allocations: 7.984 kB / 419.3 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.2942, allocations: 3.938 kB / 419.3 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/0.297, allocations: 1.672 MB / 421 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.297, allocations: 0 / 421 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006028/0.2976, allocations: 104 kB / 421.1 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005291/0.2982, allocations: 152.7 kB / 421.3 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/0.2983, allocations: 15.98 kB / 421.3 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003287/0.3016, allocations: 2.611 MB / 423.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3016, allocations: 0 / 423.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003137/0.3047, allocations: 1.503 MB / 425.4 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/0.3051, allocations: 191.9 kB / 425.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.3052, allocations: 20 kB / 425.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007617/0.306, allocations: 72.05 kB / 425.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.3062, allocations: 59.8 kB / 425.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/0.3063, allocations: 20 kB / 425.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001325/0.3076, allocations: 0.7254 MB / 426.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3076, allocations: 0 / 426.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001416/0.309, allocations: 358.4 kB / 426.8 MB, free: 12.49 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003082/0.3094, allocations: 143.5 kB / 427 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001846/0.3112, allocations: 0.7922 MB / 427.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3112, allocations: 0 / 427.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.3126, allocations: 0.5982 MB / 428.4 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.3141, allocations: 179.3 kB / 428.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/0.3201, allocations: 3.491 MB / 432 MB, free: 7.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001439/0.3216, allocations: 1.491 MB / 433.5 MB, free: 5.711 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009688/0.3225, allocations: 238.7 kB / 433.7 MB, free: 5.473 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.3228, allocations: 55.42 kB / 433.8 MB, free: 5.418 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3228, allocations: 0 / 433.8 MB, free: 5.418 MB / 314.7 MB Notification: Performance of Templates: time 0.02708/0.3499, allocations: 10.91 MB / 444.7 MB, free: 10.55 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.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/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches