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.0008785/0.0008785, allocations: 88.05 kB / 20.67 MB, free: 3.867 MB / 18.57 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.000786/0.000786, allocations: 145.1 kB / 23.93 MB, free: 0.6133 MB / 18.57 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 0.8963/0.8963, allocations: 173.4 MB / 200.5 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.363e-05, allocations: 6.281 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005596/0.00562, allocations: 6.428 MB / 324.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003583/0.009203, allocations: 2.106 MB / 327 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008574/0.01006, allocations: 67.56 kB / 327 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007799/0.01084, allocations: 464.8 kB / 327.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.01285, allocations: 0.9085 MB / 328.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.01344, allocations: 358.3 kB / 328.7 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003019/0.01646, allocations: 3.252 MB / 332 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.01809, allocations: 1.545 MB / 333.5 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.02015, allocations: 2.094 MB / 335.6 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.02158, allocations: 1.535 MB / 337.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003493/0.02193, allocations: 356 kB / 337.5 MB, free: 3.133 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007049/0.02263, allocations: 479.7 kB / 338 MB, free: 2.664 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005283/0.02316, allocations: 0.9269 MB / 338.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.02444, allocations: 1.107 MB / 340 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00377/0.02821, allocations: 4.74 MB / 344.8 MB, free: 11.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.02822, allocations: 0 / 344.8 MB, free: 11.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02822, allocations: 4 kB / 344.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001074/0.02833, allocations: 0 / 344.8 MB, free: 11.86 MB / 314.7 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.005962/0.03429, allocations: 3.593 MB / 348.4 MB, free: 8.223 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.03435, allocations: 12.86 kB / 348.4 MB, free: 8.211 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005444/0.0349, allocations: 445 kB / 348.8 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.03683, allocations: 0.7016 MB / 349.5 MB, free: 7.062 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002427/0.03925, allocations: 1.739 MB / 351.2 MB, free: 5.277 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.757e-05/0.03935, allocations: 205.7 kB / 351.4 MB, free: 5.074 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002682/0.03962, allocations: 264.3 kB / 351.7 MB, free: 4.816 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00473/0.04435, allocations: 3.853 MB / 355.6 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/0.04439, allocations: 3.938 kB / 355.6 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/0.04455, allocations: 108 kB / 355.7 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.538e-05/0.04463, allocations: 109.4 kB / 355.8 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00352/0.04815, allocations: 3.093 MB / 358.9 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/0.05978, allocations: 9.299 MB / 368.2 MB, free: 3.879 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.06226, allocations: 1.753 MB / 369.9 MB, free: 2.129 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009346/0.06319, allocations: 0.8657 MB / 370.8 MB, free: 1.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002935/0.06613, allocations: 1.977 MB / 372.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.06616, allocations: 43.56 kB / 372.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 3.877e-06/0.06616, allocations: 0 / 372.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=104): time 0.004174/0.07034, allocations: 2.487 MB / 375.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.07038, allocations: 90.11 kB / 375.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.07176, allocations: 1.386 MB / 376.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/0.07182, allocations: 45.7 kB / 376.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005309/0.07235, allocations: 1.195 MB / 378 MB, free: 9.953 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.07257, allocations: 372.8 kB / 378.4 MB, free: 9.586 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.07279, allocations: 218.9 kB / 378.6 MB, free: 9.367 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.07289, allocations: 357.9 kB / 378.9 MB, free: 9.012 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006134/0.0735, allocations: 0.5646 MB / 379.5 MB, free: 8.445 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007127/0.07422, allocations: 0.8491 MB / 380.3 MB, free: 7.484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.07577, allocations: 1.456 MB / 381.8 MB, free: 5.914 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.07578, allocations: 4 kB / 381.8 MB, free: 5.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002234/0.07801, allocations: 1.958 MB / 383.8 MB, free: 3.938 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.07804, allocations: 8 kB / 383.8 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.07805, allocations: 8 kB / 383.8 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006764/0.07873, allocations: 397.2 kB / 384.2 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.07918, allocations: 211.7 kB / 384.4 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005432/0.08461, allocations: 6.249 MB / 390.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000784/0.08539, allocations: 147.1 kB / 390.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/0.08545, allocations: 51.92 kB / 390.8 MB, free: 12.66 MB / 362.7 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001153/0.08661, allocations: 0.8642 MB / 391.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.0868, allocations: 147.1 kB / 391.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/0.08865, allocations: 1.639 MB / 393.5 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.08866, allocations: 8 kB / 393.5 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.08867, allocations: 8 kB / 393.5 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.08868, allocations: 7.984 kB / 393.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004457/0.09313, allocations: 3.725 MB / 397.2 MB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.09314, allocations: 4 kB / 397.2 MB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.09343, allocations: 131.8 kB / 397.3 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005652/0.094, allocations: 400.5 kB / 397.7 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/0.09405, allocations: 27.98 kB / 397.8 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005117/0.09917, allocations: 6.223 MB / 404 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.09918, allocations: 11.88 kB / 404 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/0.1018, allocations: 2.467 MB / 406.5 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.1021, allocations: 174.9 kB / 406.6 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.907e-05/0.1022, allocations: 24 kB / 406.7 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/0.1026, allocations: 95.91 kB / 406.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/0.1028, allocations: 104.7 kB / 406.8 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.1028, allocations: 35.98 kB / 406.9 MB, free: 12.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001007/0.1038, allocations: 0.9591 MB / 407.8 MB, free: 11.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1038, allocations: 0 / 407.8 MB, free: 11.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001621/0.1055, allocations: 0.6813 MB / 408.5 MB, free: 10.56 MB / 378.7 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,21,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.003472/0.1089, allocations: 3.064 MB / 411.6 MB, free: 7.434 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001989/0.1109, allocations: 1.738 MB / 413.3 MB, free: 5.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1109, allocations: 4.062 kB / 413.3 MB, free: 5.668 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.112, allocations: 1.094 MB / 414.4 MB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008924/0.1129, allocations: 304.5 kB / 414.7 MB, free: 4.246 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/0.1305, allocations: 15.89 MB / 430.6 MB, free: 3.879 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/0.1316, allocations: 1.612 MB / 432.2 MB, free: 2.223 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006111/0.1323, allocations: 343 kB / 432.6 MB, free: 1.883 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007095/0.133, allocations: 0.8674 MB / 433.4 MB, free: 1.016 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.133, allocations: 0 / 433.4 MB, free: 1.016 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1686/0.3015, allocations: 40.91 MB / 474.3 MB, free: 104.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.392, allocations: 8 kB / 474.3 MB, free: 104.4 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.423639946617186]