Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,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_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,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_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 197 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.6 MB / 244.3 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007643/0.0007643, allocations: 99.3 kB / 296.4 MB, free: 7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002398/0.0002396, allocations: 4 kB / 356.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2134, allocations: 51.29 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.004608/0.2181, allocations: 5.726 MB / 413.2 MB, free: 22.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003593/0.2217, allocations: 2.047 MB / 415.3 MB, free: 20.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005259/0.2223, allocations: 35.88 kB / 415.3 MB, free: 20.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.2228, allocations: 271.9 kB / 415.6 MB, free: 19.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.2246, allocations: 0.7234 MB / 416.3 MB, free: 19.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000719/0.2253, allocations: 247.5 kB / 416.5 MB, free: 18.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002911/0.2283, allocations: 3.234 MB / 419.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.2297, allocations: 1.474 MB / 421.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.2309, allocations: 0.9805 MB / 422.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.232, allocations: 1.342 MB / 423.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00021/0.2322, allocations: 136 kB / 423.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006529/0.2329, allocations: 263.8 kB / 424 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003804/0.2333, allocations: 0.6501 MB / 424.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004686/0.2338, allocations: 0.5042 MB / 425.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.2359, allocations: 3.231 MB / 428.3 MB, free: 6.898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.236, allocations: 4 kB / 428.3 MB, free: 6.895 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.236, allocations: 0 / 428.3 MB, free: 6.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.694e-05/0.236, allocations: 0 / 428.3 MB, free: 6.895 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.005671/0.2417, allocations: 3.05 MB / 431.4 MB, free: 3.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2418, allocations: 8.031 kB / 431.4 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003753/0.2455, allocations: 0.7851 MB / 432.2 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.2477, allocations: 1.566 MB / 433.8 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-05/0.2478, allocations: 172.5 kB / 433.9 MB, free: 1.188 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002633/0.2481, allocations: 231.9 kB / 434.1 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005049/0.2531, allocations: 3.207 MB / 437.4 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.2532, allocations: 0 / 437.4 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/0.2534, allocations: 92 kB / 437.4 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.32e-05/0.2534, allocations: 73.98 kB / 437.5 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004269/0.2577, allocations: 2.882 MB / 440.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/0.2708, allocations: 9.305 MB / 449.7 MB, free: 1.008 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004637/0.2754, allocations: 4.394 MB / 454.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.2767, allocations: 0.8195 MB / 454.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004281/0.281, allocations: 3.162 MB / 458.1 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.2811, allocations: 46.75 kB / 458.1 MB, free: 7.688 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 2.905e-06/0.2811, allocations: 0 / 458.1 MB, free: 7.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.008259/0.2894, allocations: 4.275 MB / 462.4 MB, free: 3.316 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.2895, allocations: 115.2 kB / 462.5 MB, free: 3.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.2916, allocations: 1.581 MB / 464.1 MB, free: 1.582 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.2917, allocations: 49.98 kB / 464.1 MB, free: 1.527 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007011/0.2925, allocations: 1.106 MB / 465.2 MB, free: 416 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.2927, allocations: 350.9 kB / 465.6 MB, free: 60 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.2928, allocations: 31.94 kB / 465.6 MB, free: 28 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2929, allocations: 357.9 kB / 466 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009738/0.2939, allocations: 0.6466 MB / 466.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.295, allocations: 1.023 MB / 467.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.2962, allocations: 0.8184 MB / 468.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.2962, allocations: 4 kB / 468.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002982/0.2992, allocations: 1.969 MB / 470.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.2993, allocations: 15.95 kB / 470.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.2993, allocations: 12.08 kB / 470.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003444/0.2996, allocations: 125.6 kB / 470.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.3009, allocations: 343.5 kB / 470.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/0.3034, allocations: 3.188 MB / 474.1 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.3045, allocations: 103.7 kB / 474.2 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.3046, allocations: 59.98 kB / 474.3 MB, free: 6.93 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001317/0.306, allocations: 0.8172 MB / 475.1 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.3062, allocations: 150.2 kB / 475.2 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.3086, allocations: 1.43 MB / 476.7 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.3086, allocations: 12 kB / 476.7 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.3087, allocations: 4 kB / 476.7 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.3087, allocations: 3.984 kB / 476.7 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003794/0.3125, allocations: 2.457 MB / 479.1 MB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.3125, allocations: 0 / 479.1 MB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008218/0.3133, allocations: 191.9 kB / 479.3 MB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006408/0.314, allocations: 262.3 kB / 479.6 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.342e-05/0.3141, allocations: 35.97 kB / 479.6 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005035/0.3191, allocations: 5.769 MB / 485.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3191, allocations: 4.062 kB / 485.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003912/0.3231, allocations: 2.597 MB / 488 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005137/0.3236, allocations: 251.2 kB / 488.2 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.3238, allocations: 31.94 kB / 488.3 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008267/0.3246, allocations: 107.9 kB / 488.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/0.3248, allocations: 88.3 kB / 488.5 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.441e-05/0.3249, allocations: 27.98 kB / 488.5 MB, free: 8.156 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001568/0.3265, allocations: 1.107 MB / 489.6 MB, free: 7.047 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3265, allocations: 4 kB / 489.6 MB, free: 7.043 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001617/0.3281, allocations: 444 kB / 490 MB, free: 6.609 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[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 (76): * Single equations (assignments): 73 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 16,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003166/0.3284, allocations: 161.8 kB / 490.2 MB, free: 6.441 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.3312, allocations: 1.738 MB / 491.9 MB, free: 4.672 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.3312, allocations: 0 / 491.9 MB, free: 4.672 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001777/0.333, allocations: 1.188 MB / 493.1 MB, free: 3.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.3346, allocations: 283.9 kB / 493.4 MB, free: 3.176 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007915/0.3425, allocations: 5.524 MB / 498.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/0.3441, allocations: 2.034 MB / 0.4892 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004959/0.3446, allocations: 111.4 kB / 0.4893 GB, free: 11.41 MB / 378.7 MB Notification: Performance of SimCode: time 1.322e-06/0.3446, allocations: 4 kB / 0.4893 GB, free: 11.41 MB / 378.7 MB Notification: Performance of Templates: time 0.2179/0.5625, allocations: 56.3 MB / 0.5443 GB, free: 54.82 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches