Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.147/1.147, allocations: 205.1 MB / 223.8 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 108.4 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007159/0.0007159, allocations: 35.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1994, allocations: 46.63 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.004359/0.2038, allocations: 4.605 MB / 378.4 MB, free: 42.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.2059, allocations: 1.734 MB / 380.2 MB, free: 40.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.2061, allocations: 18.84 kB / 380.2 MB, free: 40.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.2066, allocations: 227.2 kB / 380.4 MB, free: 40.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.2077, allocations: 0.6528 MB / 381.1 MB, free: 40.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.208, allocations: 209.4 kB / 381.3 MB, free: 39.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001672/0.2097, allocations: 2.185 MB / 383.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009363/0.2107, allocations: 1.051 MB / 384.5 MB, free: 38.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005668/0.2112, allocations: 0.6686 MB / 385.2 MB, free: 37.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007376/0.212, allocations: 0.9457 MB / 386.1 MB, free: 37.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.2121, allocations: 120 kB / 386.2 MB, free: 37.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003845/0.2125, allocations: 247.8 kB / 386.5 MB, free: 36.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.2128, allocations: 466.5 kB / 386.9 MB, free: 36.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005077/0.2133, allocations: 0.8201 MB / 387.8 MB, free: 35.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.2145, allocations: 2.474 MB / 390.2 MB, free: 33.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2145, allocations: 0 / 390.2 MB, free: 33.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.2145, allocations: 0 / 390.2 MB, free: 33.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.2146, allocations: 0 / 390.2 MB, free: 33.04 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.00327/0.2178, allocations: 2.179 MB / 392.4 MB, free: 30.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.2179, allocations: 8.031 kB / 392.4 MB, free: 30.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.2193, allocations: 370.6 kB / 392.8 MB, free: 30.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.2206, allocations: 1.044 MB / 393.8 MB, free: 29.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.2207, allocations: 99.05 kB / 393.9 MB, free: 29.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.2208, allocations: 136.1 kB / 394 MB, free: 29.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.2229, allocations: 1.886 MB / 395.9 MB, free: 27.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.223, allocations: 0 / 395.9 MB, free: 27.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.2231, allocations: 56 kB / 396 MB, free: 27.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-05/0.2231, allocations: 46 kB / 396 MB, free: 27.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.2251, allocations: 1.684 MB / 397.7 MB, free: 25.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006032/0.2312, allocations: 5.579 MB / 403.3 MB, free: 19.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.2333, allocations: 2.915 MB / 406.2 MB, free: 16.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005325/0.2338, allocations: 0.4992 MB / 406.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001682/0.2355, allocations: 1.531 MB / 408.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.2355, allocations: 38.56 kB / 408.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=53): time 2.034e-06/0.2355, allocations: 0 / 408.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=53): time 0.002487/0.238, allocations: 1.41 MB / 409.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.2381, allocations: 96.98 kB / 409.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008767/0.239, allocations: 1.032 MB / 410.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.239, allocations: 37.7 kB / 410.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.2393, allocations: 0.6777 MB / 411.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.386e-05/0.2393, allocations: 185.3 kB / 411.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.2395, allocations: 126.2 kB / 411.8 MB, free: 10.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.123e-05/0.2396, allocations: 333.9 kB / 412.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/0.24, allocations: 361 kB / 412.5 MB, free: 9.789 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/0.2405, allocations: 0.5209 MB / 413 MB, free: 9.199 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009054/0.2414, allocations: 0.8711 MB / 413.9 MB, free: 8.262 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2414, allocations: 0 / 413.9 MB, free: 8.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001185/0.2426, allocations: 1.008 MB / 414.9 MB, free: 7.246 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2427, allocations: 4 kB / 414.9 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.2427, allocations: 8 kB / 414.9 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.2427, allocations: 12.5 kB / 414.9 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006091/0.2433, allocations: 183.8 kB / 415.1 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.2433, allocations: 11.94 kB / 415.1 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.2437, allocations: 87.33 kB / 415.2 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.2438, allocations: 24 kB / 415.2 MB, free: 6.922 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.0004622/0.2443, allocations: 0.5209 MB / 415.8 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.2444, allocations: 94.95 kB / 415.9 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009544/0.2453, allocations: 0.6862 MB / 416.5 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2454, allocations: 4 kB / 416.5 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.2454, allocations: 4 kB / 416.5 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2454, allocations: 7.922 kB / 416.6 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.2472, allocations: 1.668 MB / 418.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2472, allocations: 3.984 kB / 418.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.2476, allocations: 87.88 kB / 418.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000367/0.248, allocations: 156.6 kB / 418.5 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.063e-05/0.248, allocations: 28.08 kB / 418.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.25, allocations: 2.61 MB / 421.1 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2501, allocations: 0 / 421.1 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00957/0.2596, allocations: 8.272 MB / 429.4 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.2599, allocations: 199.8 kB / 429.6 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.152e-05/0.26, allocations: 16 kB / 429.6 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004864/0.2605, allocations: 59.92 kB / 429.6 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.2606, allocations: 55.86 kB / 429.7 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.2606, allocations: 20 kB / 429.7 MB, free: 7.902 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008104/0.2615, allocations: 0.7332 MB / 430.4 MB, free: 7.172 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2615, allocations: 3.938 kB / 430.5 MB, free: 7.168 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001124/0.2626, allocations: 458.6 kB / 430.9 MB, free: 6.719 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.0002373/0.2628, allocations: 132.1 kB / 431 MB, free: 6.582 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.264, allocations: 0.7688 MB / 431.8 MB, free: 5.816 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.2641, allocations: 8.062 kB / 431.8 MB, free: 5.809 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009411/0.265, allocations: 0.5824 MB / 432.4 MB, free: 5.211 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008559/0.2659, allocations: 179.4 kB / 432.6 MB, free: 5.039 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004408/0.2703, allocations: 3.955 MB / 436.5 MB, free: 1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008975/0.2712, allocations: 1.519 MB / 438 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000552/0.2718, allocations: 234.7 kB / 438.3 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.2719, allocations: 63.36 kB / 438.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2719, allocations: 0 / 438.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of Templates: time 0.01958/0.2915, allocations: 12.54 MB / 450.9 MB, free: 2.629 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@2/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