Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.001711/0.001711, allocations: 108.8 kB / 21.22 MB, free: 0.7305 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.002067/0.002067, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.352/1.352, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 47.92 kB / 371.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2515, allocations: 52.18 MB / 423.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008989/0.2605, allocations: 7.315 MB / 430.7 MB, free: 7.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004357/0.2649, allocations: 2.204 MB / 432.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007035/0.2656, allocations: 71.5 kB / 433 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009687/0.2666, allocations: 457 kB / 433.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.2687, allocations: 0.917 MB / 434.4 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007372/0.2694, allocations: 366.7 kB / 434.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00365/0.2731, allocations: 3.151 MB / 437.9 MB, free: 52 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002053/0.2751, allocations: 1.58 MB / 439.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001897/0.277, allocations: 1.449 MB / 440.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002855/0.2799, allocations: 1.72 MB / 442.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000741/0.2806, allocations: 360 kB / 443 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.2817, allocations: 483.9 kB / 443.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008868/0.2826, allocations: 0.9036 MB / 444.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002375/0.285, allocations: 1.61 MB / 446 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006136/0.2911, allocations: 4.69 MB / 450.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.2911, allocations: 0 / 450.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2911, allocations: 0 / 450.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001179/0.2912, allocations: 0 / 450.7 MB, free: 3.18 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.009863/0.3011, allocations: 3.62 MB / 454.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.479e-05/0.3012, allocations: 12.03 kB / 454.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001425/0.3013, allocations: 89.08 kB / 454.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000745/0.3021, allocations: 433.2 kB / 454.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003542/0.3056, allocations: 0.7171 MB / 455.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00395/0.3095, allocations: 1.74 MB / 457.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.3097, allocations: 205.5 kB / 457.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004511/0.3102, allocations: 271.9 kB / 457.7 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007029/0.3172, allocations: 3.619 MB / 461.3 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.98e-05/0.3173, allocations: 0 / 461.3 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002532/0.3175, allocations: 112 kB / 461.5 MB, free: 8.223 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.3176, allocations: 109.4 kB / 461.6 MB, free: 8.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005678/0.3233, allocations: 3.101 MB / 464.7 MB, free: 5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01796/0.3413, allocations: 10.13 MB / 474.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004217/0.3455, allocations: 1.79 MB / 476.6 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.3471, allocations: 0.8751 MB / 477.5 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00418/0.3512, allocations: 2.184 MB / 479.6 MB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.3513, allocations: 43.44 kB / 479.7 MB, free: 5.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=108): time 2.695e-06/0.3513, allocations: 0 / 479.7 MB, free: 5.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=171): time 0.01542/0.3667, allocations: 6.896 MB / 486.6 MB, free: 14.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.3668, allocations: 99.11 kB / 486.7 MB, free: 14.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.3688, allocations: 1.374 MB / 488.1 MB, free: 13.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001573/0.3689, allocations: 53.7 kB / 488.1 MB, free: 13.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009411/0.3699, allocations: 1.2 MB / 489.3 MB, free: 11.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000547/0.3704, allocations: 0.6003 MB / 489.9 MB, free: 11.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005009/0.3709, allocations: 295.5 kB / 490.2 MB, free: 10.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.371, allocations: 305.1 kB / 490.5 MB, free: 10.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.3726, allocations: 0.89 MB / 491.4 MB, free: 9.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.3745, allocations: 1.216 MB / 492.6 MB, free: 8.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003502/0.378, allocations: 2.186 MB / 494.8 MB, free: 6.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.378, allocations: 3.938 kB / 494.8 MB, free: 6.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005663/0.3837, allocations: 3.06 MB / 497.8 MB, free: 3.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.3837, allocations: 8 kB / 497.9 MB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/0.3837, allocations: 8 kB / 497.9 MB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001891/0.3856, allocations: 0.7855 MB / 498.6 MB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.3867, allocations: 275.6 kB / 498.9 MB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01579/0.4025, allocations: 12.96 MB / 0.4999 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.4038, allocations: 91.86 kB / 0.5 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.4039, allocations: 67.98 kB / 0.5 GB, free: 4.426 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (135): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,19,100.0%), (2,19,100.0%), (2,21,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001758/0.4057, allocations: 0.9345 MB / 0.5009 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003428/0.406, allocations: 163 kB / 0.5011 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005047/0.4111, allocations: 2.798 MB / 0.5038 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.4111, allocations: 19.94 kB / 0.5038 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.193e-05/0.4111, allocations: 12 kB / 0.5039 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.216e-05/0.4111, allocations: 11.97 kB / 0.5039 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.4218, allocations: 5.755 MB / 0.5095 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.4218, allocations: 0 / 0.5095 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008552/0.4226, allocations: 195.7 kB / 0.5097 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/0.4245, allocations: 0.7734 MB / 0.5104 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.4246, allocations: 47.97 kB / 0.5105 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01542/0.44, allocations: 12.81 MB / 0.523 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.44, allocations: 4.031 kB / 0.523 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007118/0.4472, allocations: 4.121 MB / 0.527 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005562/0.4477, allocations: 178.9 kB / 0.5272 GB, free: 8.004 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.4479, allocations: 43.98 kB / 0.5272 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009793/0.4489, allocations: 111.8 kB / 0.5273 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004056/0.4493, allocations: 173.3 kB / 0.5275 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.4494, allocations: 43.98 kB / 0.5275 GB, free: 7.637 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001354/0.4508, allocations: 0.963 MB / 0.5285 GB, free: 6.668 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4508, allocations: 0 / 0.5285 GB, free: 6.668 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002266/0.453, allocations: 0.6055 MB / 0.5291 GB, free: 6.062 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.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 (91): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,20,100.0%), (2,21,100.0%), (2,18,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007159/0.4602, allocations: 4.739 MB / 0.5337 GB, free: 1.266 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1966/0.6568, allocations: 2.974 MB / 0.5366 GB, free: 108.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.6568, allocations: 1.125 kB / 0.5366 GB, free: 108.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002912/0.6597, allocations: 1.964 MB / 0.5385 GB, free: 108.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.6613, allocations: 326.3 kB / 0.5388 GB, free: 108.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/0.6838, allocations: 19.55 MB / 0.5579 GB, free: 96.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.6852, allocations: 2.309 MB / 0.5602 GB, free: 93.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009316/0.6861, allocations: 393.1 kB / 0.5605 GB, free: 93.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008216/0.6869, allocations: 0.9406 MB / 0.5615 GB, free: 92.55 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6869, allocations: 0 / 0.5615 GB, free: 92.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08298/0.7699, allocations: 49.24 MB / 0.6096 GB, free: 43.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.98/23.75, allocations: 4.062 kB / 0.6096 GB, free: 43.71 MB / 446.1 MB " [Timeout remaining time 636] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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: 27.30758889199933]