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.001094/0.001094, allocations: 108.9 kB / 17.06 MB, free: 6.012 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.0011/0.001101, allocations: 191 kB / 18 MB, free: 5.098 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.345/1.345, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 43.94 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2464, allocations: 49.43 MB / 400.7 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.0061/0.2525, allocations: 4.659 MB / 405.4 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.2557, allocations: 1.689 MB / 407.1 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.2562, allocations: 23.94 kB / 407.1 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006109/0.2568, allocations: 262.3 kB / 407.3 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.2584, allocations: 0.6997 MB / 408 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.2588, allocations: 229.8 kB / 408.3 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.2607, allocations: 1.883 MB / 410.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.262, allocations: 1.288 MB / 411.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007348/0.2628, allocations: 0.7943 MB / 412.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009741/0.2638, allocations: 0.9769 MB / 413.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00021/0.264, allocations: 184 kB / 413.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004949/0.2645, allocations: 319.9 kB / 413.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000435/0.2649, allocations: 0.5336 MB / 414.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008099/0.2658, allocations: 0.8943 MB / 415.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002089/0.2679, allocations: 2.568 MB / 417.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2679, allocations: 0 / 417.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2679, allocations: 0 / 417.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.2679, allocations: 0 / 417.7 MB, free: 7.773 MB / 334.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.004278/0.2722, allocations: 2.182 MB / 419.9 MB, free: 5.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2722, allocations: 11.89 kB / 419.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.2741, allocations: 382.6 kB / 420.3 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.2756, allocations: 1.083 MB / 421.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.358e-05/0.2757, allocations: 103 kB / 421.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.2759, allocations: 136.1 kB / 421.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002954/0.2789, allocations: 1.894 MB / 423.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.2789, allocations: 0 / 423.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.2791, allocations: 56 kB / 423.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.907e-05/0.2791, allocations: 49.98 kB / 423.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00267/0.2818, allocations: 1.688 MB / 425.3 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007751/0.2896, allocations: 5.489 MB / 430.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/0.2926, allocations: 2.905 MB / 433.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007188/0.2933, allocations: 0.4914 MB / 434.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003548/0.2969, allocations: 1.533 MB / 435.7 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/0.2969, allocations: 42.5 kB / 435.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 3.346e-06/0.2969, allocations: 0 / 435.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.005984/0.3029, allocations: 1.403 MB / 437.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.612e-05/0.303, allocations: 92.98 kB / 437.2 MB, free: 3.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002447/0.3055, allocations: 1.028 MB / 438.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.615e-05/0.3056, allocations: 37.7 kB / 438.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000771/0.3064, allocations: 0.6813 MB / 439 MB, free: 1.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.3067, allocations: 185.3 kB / 439.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003444/0.307, allocations: 126.2 kB / 439.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3072, allocations: 330 kB / 439.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.3084, allocations: 361 kB / 439.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.3097, allocations: 0.5132 MB / 440.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/0.3123, allocations: 0.875 MB / 441.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.3123, allocations: 0 / 441.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003347/0.3156, allocations: 1.009 MB / 442.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.3157, allocations: 10.81 kB / 442.4 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.3157, allocations: 8 kB / 442.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.871e-05/0.3158, allocations: 11.94 kB / 442.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.3173, allocations: 180 kB / 442.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.091e-05/0.3174, allocations: 15.94 kB / 442.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.3186, allocations: 91.23 kB / 442.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.412e-05/0.3187, allocations: 24 kB / 442.7 MB, free: 13.68 MB / 366.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.001407/0.3201, allocations: 0.517 MB / 443.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003741/0.3205, allocations: 91.25 kB / 443.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/0.323, allocations: 0.69 MB / 444 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.3231, allocations: 7.938 kB / 444 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/0.3231, allocations: 7.938 kB / 444 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.3231, allocations: 15.86 kB / 444 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004665/0.3278, allocations: 1.648 MB / 445.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.3278, allocations: 8 kB / 445.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009125/0.3288, allocations: 91.97 kB / 445.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007841/0.3296, allocations: 152.7 kB / 445.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.168e-05/0.3297, allocations: 23.92 kB / 445.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005432/0.3351, allocations: 2.836 MB / 448.8 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.3352, allocations: 4.031 kB / 448.8 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004274/0.3394, allocations: 1.492 MB / 450.3 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/0.3399, allocations: 184 kB / 450.4 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.3402, allocations: 15.98 kB / 450.5 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.3414, allocations: 63.88 kB / 450.5 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/0.3416, allocations: 55.86 kB / 450.6 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.768e-05/0.3417, allocations: 19.98 kB / 450.6 MB, free: 5.488 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00181/0.3436, allocations: 0.7254 MB / 451.3 MB, free: 4.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.3436, allocations: 0 / 451.3 MB, free: 4.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001858/0.3455, allocations: 358.4 kB / 451.7 MB, free: 4.418 MB / 366.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.000405/0.3459, allocations: 139.4 kB / 451.8 MB, free: 4.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002572/0.3485, allocations: 0.7757 MB / 452.6 MB, free: 3.492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3485, allocations: 0 / 452.6 MB, free: 3.492 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002013/0.3505, allocations: 0.595 MB / 453.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.3524, allocations: 175.8 kB / 453.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007439/0.3599, allocations: 2.767 MB / 456.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/0.3619, allocations: 1.495 MB / 457.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001203/0.3631, allocations: 234.7 kB / 457.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.3634, allocations: 63.36 kB / 457.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.343e-06/0.3635, allocations: 0 / 457.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of Templates: time 0.0364/0.3999, allocations: 11.81 MB / 469.7 MB, free: 2.395 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/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