Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001827/0.001827, allocations: 117.4 kB / 18.45 MB, free: 4.586 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.002206/0.002206, allocations: 189.2 kB / 21.39 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 207.6 MB / 231.8 MB, free: 4.078 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 59.91 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.109, allocations: 49.11 MB / 391.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009317/0.1183, allocations: 7.229 MB / 398.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004883/0.1232, allocations: 2.251 MB / 400.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008323/0.124, allocations: 43.81 kB / 400.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.1251, allocations: 464.9 kB / 401.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002372/0.1275, allocations: 0.8897 MB / 402.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009011/0.1284, allocations: 387.2 kB / 402.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004045/0.1324, allocations: 3.133 MB / 405.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.1351, allocations: 2.098 MB / 407.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.1377, allocations: 1.425 MB / 409.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002742/0.1405, allocations: 1.705 MB / 411 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005515/0.141, allocations: 360 kB / 411.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.1422, allocations: 483.8 kB / 411.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009776/0.1432, allocations: 0.9037 MB / 412.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002155/0.1453, allocations: 1.61 MB / 414.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005765/0.1511, allocations: 4.667 MB / 419 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1511, allocations: 0 / 419 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1511, allocations: 0 / 419 MB, free: 12.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001362/0.1512, allocations: 3.938 kB / 419 MB, free: 12.95 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.009615/0.1609, allocations: 3.703 MB / 422.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.1609, allocations: 8.031 kB / 422.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006349/0.1615, allocations: 437.1 kB / 423.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003479/0.165, allocations: 0.7055 MB / 423.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003845/0.1689, allocations: 1.695 MB / 425.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.169, allocations: 201.7 kB / 425.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004268/0.1695, allocations: 259.9 kB / 426 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006367/0.1758, allocations: 3.622 MB / 429.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.042e-05/0.1759, allocations: 3.938 kB / 429.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002565/0.1761, allocations: 112 kB / 429.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.1762, allocations: 101.4 kB / 429.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005584/0.1818, allocations: 3.097 MB / 432.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02079/0.2026, allocations: 10.4 MB / 443.3 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005708/0.2083, allocations: 4.584 MB / 447.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.2098, allocations: 0.874 MB / 448.8 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004905/0.2147, allocations: 2.449 MB / 451.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.2148, allocations: 55.38 kB / 451.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.136e-06/0.2148, allocations: 0 / 451.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006476/0.2213, allocations: 2.685 MB / 454 MB, free: 8.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.873e-05/0.2214, allocations: 97.92 kB / 454 MB, free: 8.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.2236, allocations: 1.378 MB / 455.4 MB, free: 7.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.2237, allocations: 45.64 kB / 455.5 MB, free: 7.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.2247, allocations: 1.199 MB / 456.7 MB, free: 5.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/0.2251, allocations: 376.8 kB / 457 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003379/0.2254, allocations: 218.9 kB / 457.3 MB, free: 5.281 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.2256, allocations: 353.9 kB / 457.6 MB, free: 4.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009557/0.2266, allocations: 0.5803 MB / 458.2 MB, free: 4.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.2278, allocations: 0.8569 MB / 459 MB, free: 3.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/0.2299, allocations: 1.488 MB / 460.5 MB, free: 1.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.23, allocations: 4 kB / 460.5 MB, free: 1.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.2305/0.4605, allocations: 1.976 MB / 462.5 MB, free: 62.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.4605, allocations: 12.38 kB / 462.5 MB, free: 62.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.4606, allocations: 13.45 kB / 462.5 MB, free: 62.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.4617, allocations: 406 kB / 462.9 MB, free: 62.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009819/0.4627, allocations: 217.1 kB / 463.1 MB, free: 62.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007352/0.4701, allocations: 6.658 MB / 469.8 MB, free: 58.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.4712, allocations: 150.3 kB / 469.9 MB, free: 58.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.951e-05/0.4713, allocations: 46.41 kB / 470 MB, free: 58.53 MB / 382.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 (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.001572/0.4729, allocations: 0.8619 MB / 470.8 MB, free: 58.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/0.4732, allocations: 145.8 kB / 471 MB, free: 58.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/0.4761, allocations: 1.653 MB / 472.6 MB, free: 57.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.4761, allocations: 15.2 kB / 472.7 MB, free: 57.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.4762, allocations: 10.03 kB / 472.7 MB, free: 57.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.4762, allocations: 10.12 kB / 472.7 MB, free: 57.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006731/0.4829, allocations: 3.974 MB / 476.7 MB, free: 55.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.4829, allocations: 2.75 kB / 476.7 MB, free: 55.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.4835, allocations: 140.9 kB / 476.8 MB, free: 55.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009736/0.4845, allocations: 397.4 kB / 477.2 MB, free: 55.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-05/0.4846, allocations: 38.88 kB / 477.2 MB, free: 55.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006316/0.4909, allocations: 6.641 MB / 483.9 MB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.4909, allocations: 6.281 kB / 483.9 MB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003878/0.4948, allocations: 2.501 MB / 486.4 MB, free: 50.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004322/0.4952, allocations: 249.3 kB / 486.6 MB, free: 49.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.4954, allocations: 35.81 kB / 486.6 MB, free: 49.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007229/0.4961, allocations: 91.05 kB / 486.7 MB, free: 49.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/0.4963, allocations: 103.1 kB / 486.8 MB, free: 49.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/0.4964, allocations: 29.98 kB / 486.9 MB, free: 49.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001224/0.4976, allocations: 0.9629 MB / 487.8 MB, free: 49.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4976, allocations: 0 / 487.8 MB, free: 49.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001868/0.4994, allocations: 0.6841 MB / 488.5 MB, free: 49.04 MB / 382.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,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 (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.003311/0.5028, allocations: 3.104 MB / 491.6 MB, free: 47.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002613/0.5054, allocations: 1.771 MB / 493.4 MB, free: 45.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.5054, allocations: 1.641 kB / 493.4 MB, free: 45.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.5068, allocations: 1.102 MB / 494.5 MB, free: 44.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.5082, allocations: 298 kB / 494.8 MB, free: 44.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/0.5257, allocations: 16.06 MB / 0.4989 GB, free: 27.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.527, allocations: 2.183 MB / 0.501 GB, free: 25.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008074/0.5278, allocations: 351.1 kB / 0.5013 GB, free: 24.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000736/0.5285, allocations: 0.865 MB / 0.5022 GB, free: 24.09 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5285, allocations: 0 / 0.5022 GB, free: 24.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07987/0.6084, allocations: 39.12 MB / 0.5404 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.92, allocations: 3.938 kB / 0.5404 GB, free: 0.8555 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 16.410418272018433]