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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 114.5 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 183 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 59.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09711/0.09823, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.1996/0.2978, allocations: 4.607 MB / 379.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003403/0.3013, allocations: 1.74 MB / 381.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000369/0.3017, allocations: 24.19 kB / 381.5 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006007/0.3023, allocations: 262.4 kB / 381.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.3039, allocations: 0.7059 MB / 382.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.3044, allocations: 238 kB / 382.7 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002168/0.3066, allocations: 1.885 MB / 384.6 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.3081, allocations: 1.255 MB / 385.8 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.3091, allocations: 0.7968 MB / 386.6 MB, free: 8.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.3103, allocations: 0.9794 MB / 387.6 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002432/0.3106, allocations: 188.2 kB / 387.8 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006724/0.3113, allocations: 309.8 kB / 388.1 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004597/0.3117, allocations: 0.5293 MB / 388.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009839/0.3127, allocations: 0.8962 MB / 389.5 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002999/0.3157, allocations: 2.562 MB / 392.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3158, allocations: 0 / 392.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3158, allocations: 4 kB / 392.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.128e-05/0.3158, allocations: 0 / 392.1 MB, free: 6.078 MB / 318.1 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.005422/0.3213, allocations: 2.17 MB / 394.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.3213, allocations: 8.906 kB / 394.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/0.3232, allocations: 365.7 kB / 394.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.325, allocations: 1.052 MB / 395.7 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.573e-05/0.3251, allocations: 105.9 kB / 395.8 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.3253, allocations: 136 kB / 395.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003153/0.3284, allocations: 1.889 MB / 397.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.3285, allocations: 0 / 397.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.3286, allocations: 55.27 kB / 397.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.671e-05/0.3287, allocations: 47.19 kB / 397.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003025/0.3317, allocations: 1.686 MB / 399.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008273/0.34, allocations: 5.518 MB / 405.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003488/0.3435, allocations: 2.908 MB / 408 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008139/0.3444, allocations: 0.4992 MB / 408.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002731/0.3471, allocations: 1.535 MB / 410.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.3472, allocations: 42.91 kB / 410.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.865e-06/0.3472, allocations: 0 / 410.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003349/0.3505, allocations: 1.413 MB / 411.5 MB, free: 9.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.3506, allocations: 82.33 kB / 411.6 MB, free: 9.414 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.3524, allocations: 1.03 MB / 412.6 MB, free: 8.855 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-05/0.3525, allocations: 36.45 kB / 412.7 MB, free: 8.816 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005508/0.3531, allocations: 0.6765 MB / 413.3 MB, free: 8.223 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.3532, allocations: 191.3 kB / 413.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.3535, allocations: 128.5 kB / 413.6 MB, free: 7.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.3537, allocations: 333 kB / 414 MB, free: 7.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006877/0.3544, allocations: 359.9 kB / 414.3 MB, free: 7.398 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007744/0.3552, allocations: 0.5131 MB / 414.8 MB, free: 6.812 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.3567, allocations: 0.8672 MB / 415.7 MB, free: 5.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.3567, allocations: 4 kB / 415.7 MB, free: 5.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002053/0.3587, allocations: 1.011 MB / 416.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.3588, allocations: 8 kB / 416.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.3588, allocations: 4 kB / 416.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.3588, allocations: 11.94 kB / 416.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00075/0.3596, allocations: 183.8 kB / 416.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/0.3596, allocations: 15.94 kB / 416.9 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007241/0.3604, allocations: 87.27 kB / 417 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.3604, allocations: 24 kB / 417 MB, free: 4.535 MB / 334.1 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.00101/0.3614, allocations: 0.5251 MB / 417.6 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.3616, allocations: 86.97 kB / 417.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.3631, allocations: 0.6901 MB / 418.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.3631, allocations: 8 kB / 418.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.3631, allocations: 0 / 418.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.3631, allocations: 11.92 kB / 418.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.3658, allocations: 1.646 MB / 420 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3659, allocations: 0 / 420 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.3663, allocations: 107.8 kB / 420.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004593/0.3668, allocations: 157.8 kB / 420.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.3669, allocations: 16.28 kB / 420.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003412/0.3703, allocations: 2.842 MB / 423.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.3703, allocations: 4.031 kB / 423.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.3727, allocations: 1.479 MB / 424.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.3731, allocations: 191.9 kB / 424.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.3732, allocations: 16 kB / 424.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005566/0.3738, allocations: 55.94 kB / 424.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.374, allocations: 59.86 kB / 424.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.374, allocations: 19.98 kB / 424.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001085/0.3751, allocations: 0.7293 MB / 425.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3751, allocations: 0 / 425.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001258/0.3764, allocations: 362.4 kB / 426 MB, free: 11.29 MB / 350.1 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.0002607/0.3766, allocations: 137.7 kB / 426.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.3782, allocations: 0.7841 MB / 426.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3782, allocations: 0 / 426.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.3794, allocations: 0.5828 MB / 427.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3805, allocations: 181.6 kB / 427.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004557/0.385, allocations: 2.774 MB / 430.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.3861, allocations: 1.495 MB / 432 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006038/0.3868, allocations: 226.7 kB / 432.2 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.3869, allocations: 63.42 kB / 432.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3869, allocations: 0 / 432.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of Templates: time 0.02192/0.4089, allocations: 11.82 MB / 444.1 MB, free: 9.133 MB / 366.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches