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.001756/0.001756, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.002013/0.002013, allocations: 183.7 kB / 23.72 MB, free: 4.699 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.408/1.408, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 47.92 kB / 370.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2742, allocations: 52.2 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006458/0.2806, allocations: 4.697 MB / 427.3 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.2838, allocations: 1.709 MB / 429 MB, free: 8.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003914/0.2842, allocations: 31.81 kB / 429.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000709/0.2849, allocations: 266.3 kB / 429.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.2867, allocations: 0.7113 MB / 430 MB, free: 7.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.2872, allocations: 239.4 kB / 430.3 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002362/0.2895, allocations: 1.88 MB / 432.2 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009527/0.2905, allocations: 0.68 MB / 432.8 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.2916, allocations: 0.8138 MB / 433.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.2931, allocations: 1.012 MB / 434.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000269/0.2934, allocations: 184 kB / 434.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006572/0.294, allocations: 315.9 kB / 435.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005108/0.2945, allocations: 0.5375 MB / 435.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.2956, allocations: 0.8943 MB / 436.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002719/0.2983, allocations: 2.574 MB / 439.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2983, allocations: 0 / 439.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.2983, allocations: 0 / 439.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.956e-05/0.2984, allocations: 0 / 439.2 MB, free: 13.96 MB / 350.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.004838/0.3032, allocations: 2.149 MB / 441.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3032, allocations: 12.03 kB / 441.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002625/0.3035, allocations: 206.8 kB / 441.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.3052, allocations: 375.6 kB / 441.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.3072, allocations: 1.046 MB / 442.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.018e-05/0.3073, allocations: 103 kB / 443 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/0.3075, allocations: 135.9 kB / 443.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/0.3106, allocations: 1.886 MB / 445.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.3106, allocations: 0 / 445.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.3108, allocations: 63.98 kB / 445.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.495e-05/0.3108, allocations: 46 kB / 445.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002758/0.3136, allocations: 1.687 MB / 446.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009058/0.3226, allocations: 5.425 MB / 452.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/0.325, allocations: 1.076 MB / 453.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007684/0.3258, allocations: 475.1 kB / 453.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00231/0.3281, allocations: 1.358 MB / 455.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.3282, allocations: 42.69 kB / 455.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 2.304e-06/0.3282, allocations: 4 kB / 455.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003294/0.3315, allocations: 1.337 MB / 456.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.3315, allocations: 85.05 kB / 456.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.3331, allocations: 1.024 MB / 457.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/0.3332, allocations: 37.7 kB / 457.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005889/0.3337, allocations: 0.6909 MB / 458.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.3339, allocations: 198.4 kB / 458.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.3341, allocations: 118.3 kB / 458.7 MB, free: 9.973 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3343, allocations: 341.9 kB / 459 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006237/0.3349, allocations: 357 kB / 459.4 MB, free: 9.285 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007577/0.3357, allocations: 0.517 MB / 459.9 MB, free: 8.699 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.3371, allocations: 0.875 MB / 460.8 MB, free: 7.758 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/0.3371, allocations: 0 / 460.8 MB, free: 7.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001761/0.3389, allocations: 1.009 MB / 461.8 MB, free: 6.742 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3389, allocations: 8.547 kB / 461.8 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.3389, allocations: 15.94 kB / 461.8 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.339, allocations: 11.98 kB / 461.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007237/0.3397, allocations: 179.8 kB / 462 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.3397, allocations: 11.94 kB / 462 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/0.3402, allocations: 87.47 kB / 462.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/0.3403, allocations: 27.98 kB / 462.1 MB, free: 6.406 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.0007877/0.3411, allocations: 0.5305 MB / 462.6 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.3413, allocations: 91.44 kB / 462.7 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.3426, allocations: 0.681 MB / 463.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.475e-06/0.3426, allocations: 4 kB / 463.4 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.3426, allocations: 7.938 kB / 463.4 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3426, allocations: 3.984 kB / 463.4 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.3455, allocations: 1.64 MB / 465.1 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3455, allocations: 0 / 465.1 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.346, allocations: 99.8 kB / 465.2 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004422/0.3465, allocations: 151.5 kB / 465.3 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.518e-05/0.3465, allocations: 23.98 kB / 465.3 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003478/0.35, allocations: 2.744 MB / 468.1 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.35, allocations: 8.25 kB / 468.1 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.3525, allocations: 1.47 MB / 469.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.3528, allocations: 115.3 kB / 469.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.3529, allocations: 27.92 kB / 469.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005625/0.3535, allocations: 59.88 kB / 469.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.3536, allocations: 55.89 kB / 469.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.3537, allocations: 16 kB / 469.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001178/0.3548, allocations: 0.7293 MB / 470.6 MB, free: 13.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3548, allocations: 4 kB / 470.6 MB, free: 13.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001142/0.356, allocations: 370.8 kB / 470.9 MB, free: 13.38 MB / 382.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.002918/0.3589, allocations: 2.057 MB / 473 MB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.3603, allocations: 0.7526 MB / 473.7 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3603, allocations: 1.125 kB / 473.7 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.3614, allocations: 0.5744 MB / 474.3 MB, free: 9.938 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3625, allocations: 175.3 kB / 474.5 MB, free: 9.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/0.38, allocations: 10.54 MB / 485 MB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/0.3818, allocations: 1.491 MB / 486.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000784/0.3826, allocations: 234.7 kB / 486.7 MB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007571/0.3833, allocations: 487.3 kB / 487.2 MB, free: 12.7 MB / 398.1 MB Notification: Performance of SimCode: time 1.654e-06/0.3833, allocations: 0 / 487.2 MB, free: 12.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06803/0.4513, allocations: 23.7 MB / 0.4989 GB, free: 5.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.54, allocations: 4 kB / 0.4989 GB, free: 5.27 MB / 414.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 16.924003264168277]