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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 115.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 192.3 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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=10000,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=10000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 51.92 kB / 366.8 MB, free: 372 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09464/0.09611, allocations: 52.14 MB / 419 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006182/0.1023, allocations: 4.678 MB / 423.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00323/0.1055, allocations: 1.697 MB / 425.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004034/0.1059, allocations: 27.88 kB / 425.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006771/0.1066, allocations: 270.3 kB / 425.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.1083, allocations: 0.7036 MB / 426.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.1088, allocations: 223.5 kB / 426.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002298/0.1111, allocations: 1.883 MB / 428.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.1123, allocations: 0.9412 MB / 429.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.1133, allocations: 0.7903 MB / 430.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.1149, allocations: 1 MB / 431.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002706/0.1151, allocations: 192 kB / 431.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006795/0.1158, allocations: 307.9 kB / 431.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005309/0.1164, allocations: 0.5414 MB / 432.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.1174, allocations: 0.8982 MB / 433.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002836/0.1202, allocations: 2.581 MB / 435.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1202, allocations: 0 / 435.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1202, allocations: 0 / 435.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.974e-05/0.1202, allocations: 0 / 435.7 MB, free: 11.32 MB / 366.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.005025/0.1253, allocations: 2.209 MB / 437.9 MB, free: 9.051 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1253, allocations: 15.97 kB / 437.9 MB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.1272, allocations: 375.6 kB / 438.3 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.1291, allocations: 1.103 MB / 439.4 MB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-05/0.1292, allocations: 103 kB / 439.5 MB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.1294, allocations: 140.1 kB / 439.6 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003404/0.1328, allocations: 1.882 MB / 441.5 MB, free: 5.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.1328, allocations: 4 kB / 441.5 MB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.133, allocations: 52 kB / 441.5 MB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-05/0.133, allocations: 49.98 kB / 441.6 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003009/0.136, allocations: 1.687 MB / 443.3 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2042/0.3403, allocations: 5.5 MB / 448.8 MB, free: 27.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/0.3427, allocations: 2.858 MB / 451.6 MB, free: 25.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006843/0.3434, allocations: 475.7 kB / 452.1 MB, free: 25.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002115/0.3455, allocations: 1.532 MB / 453.6 MB, free: 24.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.3455, allocations: 40.08 kB / 453.7 MB, free: 24.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 2.034e-06/0.3455, allocations: 1.312 kB / 453.7 MB, free: 24.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003173/0.3487, allocations: 1.418 MB / 455.1 MB, free: 24.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.3487, allocations: 83.52 kB / 455.2 MB, free: 24.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.3502, allocations: 1.027 MB / 456.2 MB, free: 24.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/0.3502, allocations: 36.52 kB / 456.2 MB, free: 24.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005152/0.3508, allocations: 0.6921 MB / 456.9 MB, free: 24.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.3509, allocations: 195.1 kB / 457.1 MB, free: 23.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.3511, allocations: 128.8 kB / 457.2 MB, free: 23.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.714e-05/0.3512, allocations: 338.3 kB / 457.6 MB, free: 23.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/0.3518, allocations: 359.4 kB / 457.9 MB, free: 23.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006322/0.3524, allocations: 0.5163 MB / 458.4 MB, free: 23.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.3536, allocations: 0.8687 MB / 459.3 MB, free: 22.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.3536, allocations: 1.062 kB / 459.3 MB, free: 22.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001708/0.3553, allocations: 1.02 MB / 460.3 MB, free: 22.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3553, allocations: 6.828 kB / 460.3 MB, free: 22.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.3553, allocations: 8.094 kB / 460.3 MB, free: 22.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.3554, allocations: 10.38 kB / 460.3 MB, free: 22.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000748/0.3561, allocations: 182.3 kB / 460.5 MB, free: 22.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.3561, allocations: 10.3 kB / 460.5 MB, free: 22.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005542/0.3567, allocations: 88.98 kB / 460.6 MB, free: 22.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.3567, allocations: 35.27 kB / 460.7 MB, free: 22.28 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.0007377/0.3575, allocations: 0.5258 MB / 461.2 MB, free: 22.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.3576, allocations: 92.06 kB / 461.3 MB, free: 21.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.3589, allocations: 0.6853 MB / 462 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.3589, allocations: 6.922 kB / 462 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.3589, allocations: 2.469 kB / 462 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3589, allocations: 4.781 kB / 462 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.3614, allocations: 1.654 MB / 463.6 MB, free: 20.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3614, allocations: 1.547 kB / 463.6 MB, free: 20.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/0.3619, allocations: 96.22 kB / 463.7 MB, free: 20.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00047/0.3624, allocations: 150.9 kB / 463.9 MB, free: 20.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/0.3624, allocations: 18.92 kB / 463.9 MB, free: 20.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.3652, allocations: 2.853 MB / 466.7 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3652, allocations: 5.297 kB / 466.7 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.3674, allocations: 1.476 MB / 468.2 MB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.3677, allocations: 193.3 kB / 468.4 MB, free: 17.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.3678, allocations: 20.86 kB / 468.4 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000542/0.3683, allocations: 57.56 kB / 468.5 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.3685, allocations: 59.25 kB / 468.5 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.3685, allocations: 21.23 kB / 468.6 MB, free: 17.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009722/0.3695, allocations: 0.7307 MB / 469.3 MB, free: 17.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3695, allocations: 1.188 kB / 469.3 MB, free: 17.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001077/0.3706, allocations: 368.8 kB / 469.7 MB, free: 17.53 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.0002432/0.3708, allocations: 141.3 kB / 469.8 MB, free: 17.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.3722, allocations: 0.7558 MB / 470.6 MB, free: 17.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3722, allocations: 1.125 kB / 470.6 MB, free: 17.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009872/0.3732, allocations: 0.5699 MB / 471.1 MB, free: 16.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.3742, allocations: 183.3 kB / 471.3 MB, free: 16.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.3784, allocations: 2.815 MB / 474.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008444/0.3792, allocations: 1.46 MB / 475.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.3796, allocations: 66.56 kB / 475.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3796, allocations: 1.25 kB / 475.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of Templates: time 0.02404/0.4036, allocations: 19.84 MB / 495.5 MB, free: 14.95 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.82526425900869]