Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 101 kB / 17.59 MB, free: 5.426 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.001623/0.001623, allocations: 187.3 kB / 18.51 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009637/0.0009638, allocations: 40.53 kB / 301.3 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08427/0.08525, allocations: 49.45 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005448/0.09074, allocations: 4.633 MB / 355.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002807/0.09359, allocations: 1.697 MB / 357.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003867/0.094, allocations: 23.94 kB / 357.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005766/0.09462, allocations: 258.3 kB / 357.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.09611, allocations: 0.6957 MB / 358 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.09657, allocations: 229 kB / 358.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001829/0.09841, allocations: 1.876 MB / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.09967, allocations: 1.288 MB / 361.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008009/0.1005, allocations: 0.7905 MB / 362.2 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.1016, allocations: 0.973 MB / 363.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002473/0.1018, allocations: 191.9 kB / 363.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005821/0.1024, allocations: 311.9 kB / 363.7 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004231/0.1028, allocations: 0.5337 MB / 364.2 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008556/0.1037, allocations: 0.8982 MB / 365.1 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.1058, allocations: 2.547 MB / 367.7 MB, free: 3.398 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1058, allocations: 0 / 367.7 MB, free: 3.398 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1058, allocations: 0 / 367.7 MB, free: 3.398 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.813e-05/0.1059, allocations: 0 / 367.7 MB, free: 3.398 MB / 302.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.004316/0.1102, allocations: 2.182 MB / 369.8 MB, free: 1.164 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1102, allocations: 8.031 kB / 369.9 MB, free: 1.156 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.112, allocations: 366.6 kB / 370.2 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1473/0.2593, allocations: 1.064 MB / 371.3 MB, free: 24.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.374e-05/0.2595, allocations: 103.4 kB / 371.4 MB, free: 24.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.2598, allocations: 134.7 kB / 371.5 MB, free: 24.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003178/0.2629, allocations: 1.889 MB / 373.4 MB, free: 23.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.263, allocations: 0 / 373.4 MB, free: 23.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.2631, allocations: 51.28 kB / 373.4 MB, free: 23.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.853e-05/0.2632, allocations: 51.02 kB / 373.5 MB, free: 23.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/0.2658, allocations: 1.685 MB / 375.2 MB, free: 23.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00796/0.2738, allocations: 5.56 MB / 380.7 MB, free: 20.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/0.2763, allocations: 2.903 MB / 383.6 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/0.277, allocations: 0.4972 MB / 384.1 MB, free: 17.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/0.2789, allocations: 1.53 MB / 385.7 MB, free: 16.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2789, allocations: 44.34 kB / 385.7 MB, free: 16.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.655e-06/0.279, allocations: 0 / 385.7 MB, free: 16.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.002868/0.2818, allocations: 1.412 MB / 387.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.2819, allocations: 87.08 kB / 387.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.283, allocations: 1.027 MB / 388.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.2831, allocations: 37.2 kB / 388.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.2834, allocations: 0.6788 MB / 389 MB, free: 14.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.953e-05/0.2835, allocations: 189 kB / 389.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.2836, allocations: 125.1 kB / 389.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.832e-05/0.2837, allocations: 337.8 kB / 389.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005226/0.2842, allocations: 356.7 kB / 389.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/0.2848, allocations: 0.5107 MB / 390.4 MB, free: 13.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.2859, allocations: 0.8822 MB / 391.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2859, allocations: 3.938 kB / 391.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001366/0.2873, allocations: 1.012 MB / 392.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2873, allocations: 11.94 kB / 392.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2873, allocations: 3.938 kB / 392.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.2873, allocations: 7.906 kB / 392.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/0.288, allocations: 179.8 kB / 392.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.288, allocations: 16.36 kB / 392.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004962/0.2885, allocations: 77.69 kB / 392.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.796e-05/0.2886, allocations: 31.92 kB / 392.7 MB, free: 12.18 MB / 302.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.0005646/0.2892, allocations: 0.5286 MB / 393.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.2893, allocations: 94.5 kB / 393.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.2904, allocations: 0.6892 MB / 394 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.2904, allocations: 5.5 kB / 394 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.2904, allocations: 2.75 kB / 394 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2904, allocations: 0 / 394 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.2925, allocations: 1.653 MB / 395.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.2926, allocations: 1.953 kB / 395.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/0.293, allocations: 97 kB / 395.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003713/0.2934, allocations: 155.5 kB / 395.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/0.2934, allocations: 23.5 kB / 395.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/0.2957, allocations: 2.84 MB / 398.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2957, allocations: 0 / 398.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.2975, allocations: 1.484 MB / 400.2 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.2977, allocations: 188 kB / 400.4 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.2978, allocations: 15.98 kB / 400.4 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/0.2983, allocations: 63.94 kB / 400.5 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.2985, allocations: 47.92 kB / 400.5 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.2985, allocations: 19.98 kB / 400.6 MB, free: 5.949 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007214/0.2992, allocations: 0.7293 MB / 401.3 MB, free: 5.223 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2992, allocations: 0.7656 kB / 401.3 MB, free: 5.223 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009202/0.3002, allocations: 366.3 kB / 401.6 MB, free: 4.863 MB / 302.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.0002312/0.3004, allocations: 142.2 kB / 401.8 MB, free: 4.723 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.3016, allocations: 0.8428 MB / 402.6 MB, free: 3.883 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3016, allocations: 0 / 402.6 MB, free: 3.883 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000846/0.3025, allocations: 0.5884 MB / 403.2 MB, free: 3.281 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008939/0.3034, allocations: 189.6 kB / 403.4 MB, free: 3.105 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.3066, allocations: 2.788 MB / 406.2 MB, free: 280 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009284/0.3076, allocations: 1.465 MB / 407.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.3078, allocations: 67.42 kB / 407.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3078, allocations: 0 / 407.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of Templates: time 0.02561/0.3335, allocations: 19.63 MB / 427.4 MB, free: 11.16 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches