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.001622/0.001622, allocations: 110.3 kB / 17.28 MB, free: 6.219 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.00125/0.00125, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.314/1.314, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 50.84 kB / 300.8 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08408/0.08521, allocations: 49.44 MB / 350.2 MB, free: 4.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005475/0.09071, allocations: 4.659 MB / 354.9 MB, free: 72 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.09367, allocations: 1.663 MB / 356.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005784/0.09427, allocations: 19.94 kB / 356.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007442/0.09506, allocations: 226.8 kB / 356.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.09687, allocations: 0.6457 MB / 357.4 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.09744, allocations: 205.6 kB / 357.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00237/0.09982, allocations: 1.872 MB / 359.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.1015, allocations: 1.296 MB / 360.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.1025, allocations: 0.7904 MB / 361.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.104, allocations: 1.012 MB / 362.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004203/0.1044, allocations: 188 kB / 362.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008213/0.1053, allocations: 315.9 kB / 363.1 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005806/0.1059, allocations: 0.5375 MB / 363.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.1072, allocations: 0.8944 MB / 364.5 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002064/0.1093, allocations: 2.1 MB / 366.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1093, allocations: 0 / 366.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1093, allocations: 0 / 366.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.904e-05/0.1094, allocations: 0 / 366.6 MB, free: 4.254 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.005245/0.1146, allocations: 2.175 MB / 368.8 MB, free: 2.023 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1147, allocations: 8.031 kB / 368.8 MB, free: 2.016 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/0.1167, allocations: 370.6 kB / 369.2 MB, free: 1.652 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.1185, allocations: 1.064 MB / 370.3 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.812e-05/0.1186, allocations: 103 kB / 370.4 MB, free: 456 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002836/0.1189, allocations: 136.1 kB / 370.5 MB, free: 320 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1545/0.2734, allocations: 1.884 MB / 372.4 MB, free: 24.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-05/0.2735, allocations: 0.9844 kB / 372.4 MB, free: 24.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003238/0.2739, allocations: 56.06 kB / 372.4 MB, free: 24.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-05/0.274, allocations: 46.25 kB / 372.5 MB, free: 24.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003659/0.2776, allocations: 1.686 MB / 374.2 MB, free: 23.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008738/0.2864, allocations: 5.558 MB / 379.7 MB, free: 20.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/0.289, allocations: 2.904 MB / 382.6 MB, free: 18.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007443/0.2898, allocations: 0.5022 MB / 383.1 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002055/0.2919, allocations: 1.532 MB / 384.7 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.2919, allocations: 47.97 kB / 384.7 MB, free: 17.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.384e-06/0.2919, allocations: 0 / 384.7 MB, free: 17.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.002879/0.2948, allocations: 1.4 MB / 386.1 MB, free: 16.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.2949, allocations: 90.8 kB / 386.2 MB, free: 16.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.2961, allocations: 1.024 MB / 387.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.2961, allocations: 36.27 kB / 387.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.2965, allocations: 0.6816 MB / 387.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.2966, allocations: 184.7 kB / 388.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.2968, allocations: 124.8 kB / 388.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.373e-05/0.2969, allocations: 329.8 kB / 388.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005753/0.2975, allocations: 356.8 kB / 388.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/0.2981, allocations: 0.5207 MB / 389.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.2993, allocations: 0.8712 MB / 390.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2993, allocations: 6.625 kB / 390.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001516/0.3008, allocations: 1.017 MB / 391.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3008, allocations: 3.906 kB / 391.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.3008, allocations: 11.81 kB / 391.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.3009, allocations: 11.73 kB / 391.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006692/0.3015, allocations: 177.9 kB / 391.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.3016, allocations: 19.12 kB / 391.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/0.3021, allocations: 90.92 kB / 391.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.3021, allocations: 23.75 kB / 391.6 MB, free: 12.79 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.0005867/0.3027, allocations: 0.5242 MB / 392.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.3029, allocations: 88.25 kB / 392.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.304, allocations: 0.6888 MB / 392.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.304, allocations: 7.875 kB / 393 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.304, allocations: 7.875 kB / 393 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.304, allocations: 7.984 kB / 393 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.3062, allocations: 1.643 MB / 394.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.3062, allocations: 5.312 kB / 394.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/0.3067, allocations: 98 kB / 394.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003949/0.3071, allocations: 151 kB / 394.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/0.3071, allocations: 22.8 kB / 394.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/0.3096, allocations: 2.843 MB / 397.7 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3096, allocations: 240 / 397.7 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.3116, allocations: 1.479 MB / 399.2 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.3117, allocations: 191.9 kB / 399.4 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.3119, allocations: 19.98 kB / 399.4 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005196/0.3124, allocations: 59.88 kB / 399.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.3125, allocations: 47.92 kB / 399.5 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.3126, allocations: 23.98 kB / 399.5 MB, free: 7.102 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000744/0.3133, allocations: 0.7293 MB / 400.3 MB, free: 6.379 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3133, allocations: 0 / 400.3 MB, free: 6.379 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009413/0.3143, allocations: 361.6 kB / 400.6 MB, free: 6.027 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.0002519/0.3145, allocations: 137.4 kB / 400.8 MB, free: 5.883 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.3158, allocations: 0.8386 MB / 401.6 MB, free: 5.047 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3158, allocations: 0 / 401.6 MB, free: 5.047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000869/0.3167, allocations: 0.5851 MB / 402.2 MB, free: 4.449 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000909/0.3176, allocations: 178 kB / 402.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.3212, allocations: 3.387 MB / 405.7 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008087/0.322, allocations: 1.461 MB / 407.2 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.3222, allocations: 67.42 kB / 407.3 MB, free: 15.31 MB / 318.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3222, allocations: 0 / 407.3 MB, free: 15.31 MB / 318.1 MB Notification: Performance of Templates: time 0.02444/0.3467, allocations: 19.64 MB / 426.9 MB, free: 11.74 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