Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 47.94 kB / 377.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2926, allocations: 53.36 MB / 431.2 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02034/0.3129, allocations: 16.7 MB / 447.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.3248, allocations: 4.743 MB / 452.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00376/0.3285, allocations: 159.2 kB / 452.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01784/0.3464, allocations: 7.249 MB / 460 MB, free: 9.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007998/0.3544, allocations: 2.038 MB / 462 MB, free: 7.883 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004774/0.3591, allocations: 1.581 MB / 463.6 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01584/0.375, allocations: 9.614 MB / 473.2 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03207/0.407, allocations: 13.59 MB / 486.8 MB, free: 14.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01047/0.4175, allocations: 5.389 MB / 492.2 MB, free: 9.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01181/0.4293, allocations: 5.989 MB / 498.2 MB, free: 3.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004564/0.4339, allocations: 1.359 MB / 499.6 MB, free: 2.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007003/0.4409, allocations: 1.664 MB / 0.4895 GB, free: 492 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006592/0.4475, allocations: 2.798 MB / 0.4922 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01113/0.4586, allocations: 5.366 MB / 0.4974 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03005/0.4887, allocations: 18.4 MB / 0.5154 GB, free: 5.832 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.4887, allocations: 8 kB / 0.5154 GB, free: 5.824 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4887, allocations: 0 / 0.5154 GB, free: 5.824 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006843/0.4894, allocations: 0 / 0.5154 GB, free: 5.824 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04413/0.5335, allocations: 12.26 MB / 0.5274 GB, free: 9.492 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.84e-05/0.5336, allocations: 15.97 kB / 0.5274 GB, free: 9.477 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006267/0.5398, allocations: 1.505 MB / 0.5289 GB, free: 7.961 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03854/0.5784, allocations: 6.202 MB / 0.5349 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4433/1.022, allocations: 5.926 MB / 0.5407 GB, free: 85.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005667/1.022, allocations: 0.6663 MB / 0.5414 GB, free: 85.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003741/1.026, allocations: 0.8765 MB / 0.5422 GB, free: 84.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03733/1.063, allocations: 14.75 MB / 0.5566 GB, free: 79.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004254/1.064, allocations: 7.656 kB / 0.5566 GB, free: 79.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003036/1.067, allocations: 379.1 kB / 0.557 GB, free: 79.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004946/1.067, allocations: 0.4916 MB / 0.5575 GB, free: 79.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02446/1.092, allocations: 13.57 MB / 0.5707 GB, free: 66.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07044/1.162, allocations: 43.5 MB / 0.6132 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009649/1.172, allocations: 6.009 MB / 0.6191 GB, free: 17.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003988/1.176, allocations: 2.867 MB / 0.6219 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004914/1.176, allocations: 138.1 kB / 0.622 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.242e-05/1.176, allocations: 78.5 kB / 0.6221 GB, free: 14.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 8.787e-06/1.176, allocations: 0 / 0.6221 GB, free: 14.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01938/1.196, allocations: 9.433 MB / 0.6313 GB, free: 4.793 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/1.196, allocations: 121.1 kB / 0.6314 GB, free: 4.656 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00506/1.201, allocations: 3.166 MB / 0.6345 GB, free: 1.516 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006639/1.202, allocations: 89.7 kB / 0.6346 GB, free: 1.422 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00257/1.204, allocations: 3.836 MB / 0.6383 GB, free: 13.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001929/1.206, allocations: 1.466 MB / 0.6398 GB, free: 12.24 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003065/1.209, allocations: 1.144 MB / 0.6409 GB, free: 11.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/1.209, allocations: 305.1 kB / 0.6412 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005289/1.215, allocations: 2.845 MB / 0.644 GB, free: 7.934 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007236/1.222, allocations: 4.908 MB / 0.6487 GB, free: 2.082 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01271/1.234, allocations: 8.275 MB / 0.6568 GB, free: 8.871 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-05/1.235, allocations: 20 kB / 0.6568 GB, free: 8.852 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01918/1.254, allocations: 9.114 MB / 0.6657 GB, free: 15.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.383e-05/1.254, allocations: 32.62 kB / 0.6658 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/1.254, allocations: 68 kB / 0.6658 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003644/1.258, allocations: 1.158 MB / 0.667 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005151/1.263, allocations: 1.295 MB / 0.6682 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0171/1.28, allocations: 10.6 MB / 0.6786 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00496/1.285, allocations: 0.7491 MB / 0.6793 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001222/1.286, allocations: 287.9 kB / 0.6796 GB, free: 1.309 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008007/1.294, allocations: 3.419 MB / 0.6829 GB, free: 13.88 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/1.295, allocations: 365.6 kB / 0.6833 GB, free: 13.52 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01609/1.311, allocations: 6.882 MB / 0.69 GB, free: 6.605 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01089/1.322, allocations: 5.721 MB / 0.6956 GB, free: 0.8711 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.747e-05/1.322, allocations: 12 kB / 0.6956 GB, free: 0.8594 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.746e-05/1.322, allocations: 23.86 kB / 0.6956 GB, free: 0.8359 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03378/1.356, allocations: 15.29 MB / 0.7106 GB, free: 1.312 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.139e-05/1.356, allocations: 12 kB / 0.7106 GB, free: 1.301 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003447/1.36, allocations: 0.7996 MB / 0.7114 GB, free: 0.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003476/1.363, allocations: 1.057 MB / 0.7124 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006373/1.364, allocations: 116 kB / 0.7125 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01666/1.38, allocations: 10.38 MB / 0.7226 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.931e-05/1.38, allocations: 23.88 kB / 0.7227 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01999/1.4, allocations: 10.69 MB / 0.7331 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002907/1.403, allocations: 0.9649 MB / 0.734 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/1.404, allocations: 95.94 kB / 0.7341 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002663/1.407, allocations: 275.8 kB / 0.7344 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008754/1.408, allocations: 367 kB / 0.7347 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000474/1.408, allocations: 148 kB / 0.7349 GB, free: 7.922 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004178/1.413, allocations: 2.125 MB / 0.737 GB, free: 5.793 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.413, allocations: 0 / 0.737 GB, free: 5.793 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007081/1.42, allocations: 2.251 MB / 0.7392 GB, free: 3.535 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2439/1.664, allocations: 11.43 MB / 0.7503 GB, free: 176 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01033/1.674, allocations: 7.169 MB / 0.7573 GB, free: 173.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.965e-05/1.674, allocations: 3.719 kB / 0.7573 GB, free: 173.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005125/1.679, allocations: 3.417 MB / 0.7607 GB, free: 172.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003949/1.683, allocations: 0.8044 MB / 0.7614 GB, free: 171.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08197/1.765, allocations: 51.94 MB / 0.8122 GB, free: 131.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00745/1.772, allocations: 5.927 MB / 0.818 GB, free: 126 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00516/1.778, allocations: 2.161 MB / 0.8201 GB, free: 123.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004296/1.782, allocations: 3.026 MB / 0.823 GB, free: 120.8 MB / 0.545 GB Notification: Performance of SimCode: time 8.51e-07/1.782, allocations: 4 kB / 0.823 GB, free: 120.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2022/1.984, allocations: 120.7 MB / 0.9409 GB, free: 0.543 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.37/22.35, allocations: 12.03 kB / 0.9409 GB, free: 0.5312 MB / 0.545 GB " [Timeout remaining time 637] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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: 26.976769513916224]