Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002853/0.002858, allocations: 187.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.544/3.544, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.002107/0.002105, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006803/0.0006805, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2165, allocations: 47.58 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.009141/0.2258, allocations: 3.717 MB / 378.3 MB, free: 11.69 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005571/0.2314, allocations: 1.633 MB / 379.9 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007879/0.2323, allocations: 19.88 kB / 379.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.2334, allocations: 206.9 kB / 380.1 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.2366, allocations: 0.545 MB / 380.7 MB, free: 9.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.2377, allocations: 163.7 kB / 380.8 MB, free: 9.121 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003997/0.2418, allocations: 1.177 MB / 382 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002312/0.2442, allocations: 0.8656 MB / 382.9 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.2459, allocations: 0.5566 MB / 383.4 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/0.2482, allocations: 0.6965 MB / 384.1 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004684/0.2488, allocations: 91.94 kB / 384.2 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.2502, allocations: 187.9 kB / 384.4 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008636/0.2511, allocations: 394.8 kB / 384.8 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008699/0.252, allocations: 332.9 kB / 385.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004699/0.2567, allocations: 2.014 MB / 387.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2568, allocations: 0 / 387.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.138e-06/0.2568, allocations: 0 / 387.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.863e-05/0.2569, allocations: 0 / 387.1 MB, free: 2.793 MB / 282.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.00986/0.2668, allocations: 1.93 MB / 389 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.814e-05/0.2669, allocations: 8.031 kB / 389.1 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004675/0.2716, allocations: 369.7 kB / 389.4 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4227/0.6944, allocations: 0.9969 MB / 390.4 MB, free: 19.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003714/0.6948, allocations: 100.7 kB / 390.5 MB, free: 19.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/0.696, allocations: 131 kB / 390.6 MB, free: 19.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/0.707, allocations: 1.881 MB / 392.5 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.58e-05/0.7072, allocations: 7.391 kB / 392.5 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000417/0.7076, allocations: 51 kB / 392.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/0.7078, allocations: 55.31 kB / 392.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00876/0.7166, allocations: 1.697 MB / 394.3 MB, free: 17.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0253/0.7419, allocations: 5.625 MB / 400 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006979/0.749, allocations: 2.901 MB / 402.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006473/0.7555, allocations: 1.552 MB / 404.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/0.7557, allocations: 42.67 kB / 404.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=53): time 6.342e-06/0.7557, allocations: 0 / 404.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=53): time 0.008655/0.7644, allocations: 1.436 MB / 405.9 MB, free: 10.56 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.7645, allocations: 82.55 kB / 406 MB, free: 10.47 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003733/0.7682, allocations: 1.021 MB / 407 MB, free: 9.914 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002319/0.7686, allocations: 41.11 kB / 407 MB, free: 9.871 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008373/0.7694, allocations: 0.6783 MB / 407.7 MB, free: 9.254 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004741/0.7699, allocations: 190.1 kB / 407.9 MB, free: 9.094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.7701, allocations: 13.91 kB / 407.9 MB, free: 9.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.7702, allocations: 338.5 kB / 408.2 MB, free: 8.754 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.7719, allocations: 369.6 kB / 408.6 MB, free: 8.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.774, allocations: 0.5203 MB / 409.1 MB, free: 8.184 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002033/0.7761, allocations: 445.5 kB / 409.6 MB, free: 7.961 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.332e-05/0.7762, allocations: 5.312 kB / 409.6 MB, free: 7.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004506/0.7807, allocations: 0.9634 MB / 410.5 MB, free: 7.469 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/0.7808, allocations: 10.84 kB / 410.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.83e-05/0.7809, allocations: 5.469 kB / 410.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.425e-05/0.7809, allocations: 8.75 kB / 410.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/0.7831, allocations: 186.9 kB / 410.7 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.63e-05/0.7832, allocations: 12.44 kB / 410.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.7851, allocations: 94.53 kB / 410.8 MB, free: 7.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002667/0.7854, allocations: 28.41 kB / 410.9 MB, free: 7.352 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002236/0.7877, allocations: 0.5243 MB / 411.4 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006151/0.7883, allocations: 92.62 kB / 411.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003343/0.7917, allocations: 0.6994 MB / 412.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/0.7918, allocations: 5.812 kB / 412.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.558e-05/0.7918, allocations: 6.469 kB / 412.2 MB, free: 6.531 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.358e-05/0.7919, allocations: 5.578 kB / 412.2 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007117/0.799, allocations: 1.667 MB / 413.9 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/0.7991, allocations: 1.344 kB / 413.9 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/0.8005, allocations: 102.4 kB / 414 MB, free: 5.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001119/0.8016, allocations: 151.8 kB / 414.1 MB, free: 5.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001977/0.8019, allocations: 20.55 kB / 414.1 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006709/0.8086, allocations: 2.664 MB / 416.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.8087, allocations: 0 / 416.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005844/0.8146, allocations: 1.553 MB / 418.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007477/0.8154, allocations: 188 kB / 418.5 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004112/0.8158, allocations: 23.98 kB / 418.6 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/0.8175, allocations: 63.94 kB / 418.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000444/0.818, allocations: 53.23 kB / 418.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.8182, allocations: 19.98 kB / 418.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002301/0.8205, allocations: 0.7215 MB / 419.4 MB, free: 460 kB / 282.7 MB Notification: Performance of sort global known variables: time 1.042e-06/0.8206, allocations: 0 / 419.4 MB, free: 460 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.002895/0.8235, allocations: 363.8 kB / 419.8 MB, free: 96 kB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006395/0.8242, allocations: 136.4 kB / 419.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003831/0.828, allocations: 0.7882 MB / 420.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.006e-05/0.8281, allocations: 8.375 kB / 420.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002999/0.8311, allocations: 0.6027 MB / 421.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.8337, allocations: 171 kB / 421.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.8469, allocations: 3.322 MB / 424.8 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003325/0.8503, allocations: 1.496 MB / 426.3 MB, free: 9.488 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007724/0.8512, allocations: 63.42 kB / 426.3 MB, free: 9.426 MB / 298.7 MB Notification: Performance of SimCode: time 3.967e-06/0.8512, allocations: 4 kB / 426.3 MB, free: 9.422 MB / 298.7 MB Notification: Performance of Templates: time 0.1055/0.9567, allocations: 19.06 MB / 445.4 MB, free: 6.348 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches