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.001614/0.001614, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001801/0.001801, allocations: 192.5 kB / 18.67 MB, free: 4.438 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.439/1.439, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009941/0.0009942, allocations: 51.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2462, allocations: 49.42 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005467/0.2517, allocations: 4.661 MB / 406.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003276/0.2551, allocations: 1.689 MB / 407.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00076/0.2559, allocations: 31.81 kB / 407.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008002/0.2568, allocations: 262.3 kB / 408 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.2589, allocations: 0.6831 MB / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.2594, allocations: 231.5 kB / 408.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.2615, allocations: 1.876 MB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.2628, allocations: 1.288 MB / 412.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009141/0.2637, allocations: 0.7981 MB / 412.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.2649, allocations: 0.9769 MB / 413.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002546/0.2651, allocations: 188 kB / 414.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006698/0.2658, allocations: 315.9 kB / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000444/0.2663, allocations: 0.5336 MB / 414.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009201/0.2672, allocations: 0.8943 MB / 415.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002371/0.2696, allocations: 2.568 MB / 418.4 MB, free: 7.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2696, allocations: 4 kB / 418.4 MB, free: 7.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2696, allocations: 0 / 418.4 MB, free: 7.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.513e-05/0.2697, allocations: 0 / 418.4 MB, free: 7.816 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.004706/0.2744, allocations: 2.179 MB / 420.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2744, allocations: 8.031 kB / 420.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.2763, allocations: 370.6 kB / 420.9 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.2783, allocations: 1.091 MB / 422 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.72e-05/0.2784, allocations: 99.05 kB / 422.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/0.2787, allocations: 144.1 kB / 422.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/0.2817, allocations: 1.886 MB / 424.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.2817, allocations: 0 / 424.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.2819, allocations: 52 kB / 424.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.619e-05/0.2819, allocations: 49.98 kB / 424.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002717/0.2847, allocations: 1.691 MB / 425.9 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008617/0.2933, allocations: 5.493 MB / 431.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/0.2963, allocations: 2.899 MB / 434.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007187/0.297, allocations: 0.4926 MB / 434.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002472/0.2995, allocations: 1.533 MB / 436.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.2996, allocations: 46.5 kB / 436.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.875e-06/0.2996, allocations: 0 / 436.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003007/0.3026, allocations: 1.407 MB / 437.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.3027, allocations: 89.05 kB / 437.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.304, allocations: 1.032 MB / 438.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.304, allocations: 33.7 kB / 438.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004446/0.3045, allocations: 0.6735 MB / 439.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.3046, allocations: 189.3 kB / 439.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.3048, allocations: 126.2 kB / 439.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3049, allocations: 334 kB / 440.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.3055, allocations: 357 kB / 440.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/0.3061, allocations: 0.5226 MB / 441.1 MB, free: 12 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.3074, allocations: 0.8751 MB / 442 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.3074, allocations: 0 / 442 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001606/0.309, allocations: 1.005 MB / 443 MB, free: 14.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3091, allocations: 10.97 kB / 443 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3091, allocations: 4 kB / 443 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.3091, allocations: 11.94 kB / 443 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007406/0.3098, allocations: 192.1 kB / 443.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.3099, allocations: 11.94 kB / 443.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005364/0.3104, allocations: 83.23 kB / 443.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.3105, allocations: 28 kB / 443.3 MB, free: 13.73 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.0007698/0.3112, allocations: 0.5208 MB / 443.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.3114, allocations: 86.97 kB / 443.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.3126, allocations: 0.6939 MB / 444.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.3127, allocations: 4 kB / 444.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.3127, allocations: 8 kB / 444.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.3127, allocations: 11.92 kB / 444.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.3152, allocations: 1.645 MB / 446.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3152, allocations: 3.938 kB / 446.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.3157, allocations: 104 kB / 446.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004212/0.3161, allocations: 152.6 kB / 446.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.3162, allocations: 16 kB / 446.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002982/0.3192, allocations: 2.84 MB / 449.4 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.3192, allocations: 7.969 kB / 449.4 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.3215, allocations: 1.472 MB / 450.9 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.3218, allocations: 188 kB / 451.1 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.322, allocations: 16 kB / 451.1 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000549/0.3225, allocations: 63.88 kB / 451.2 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.3227, allocations: 51.92 kB / 451.2 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.3227, allocations: 23.92 kB / 451.2 MB, free: 5.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009249/0.3237, allocations: 0.7293 MB / 452 MB, free: 4.828 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.3237, allocations: 3.938 kB / 452 MB, free: 4.824 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001003/0.3247, allocations: 362.4 kB / 452.3 MB, free: 4.469 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.0002561/0.3249, allocations: 147.4 kB / 452.5 MB, free: 4.312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.3262, allocations: 0.7705 MB / 453.2 MB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.3262, allocations: 4 kB / 453.2 MB, free: 3.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.3273, allocations: 0.5873 MB / 453.8 MB, free: 2.941 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009469/0.3282, allocations: 180 kB / 454 MB, free: 2.766 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.3324, allocations: 2.766 MB / 456.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009851/0.3334, allocations: 1.461 MB / 458.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.3337, allocations: 67.42 kB / 458.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3337, allocations: 0 / 458.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of Templates: time 0.02455/0.3583, allocations: 19.92 MB / 478.2 MB, free: 10.53 MB / 398.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