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.001586/0.001586, allocations: 120.8 kB / 17.79 MB, free: 5.285 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.001779/0.001779, allocations: 186.9 kB / 20.73 MB, free: 2.355 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.422/1.422, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.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="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 0.001533/0.001533, allocations: 55.92 kB / 365.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1238, allocations: 52.13 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.00997/0.1338, allocations: 7.298 MB / 425.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004918/0.1387, allocations: 2.192 MB / 427.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007425/0.1394, allocations: 55.75 kB / 427.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.1405, allocations: 460.9 kB / 427.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.1429, allocations: 0.8976 MB / 428.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009099/0.1439, allocations: 372.8 kB / 429 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004822/0.1487, allocations: 3.141 MB / 432.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002794/0.1515, allocations: 2.13 MB / 434.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002569/0.154, allocations: 1.425 MB / 435.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002439/0.1565, allocations: 1.705 MB / 437.4 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005252/0.157, allocations: 360 kB / 437.8 MB, free: 8.469 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.158, allocations: 479.8 kB / 438.3 MB, free: 8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008614/0.1589, allocations: 0.9154 MB / 439.2 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002046/0.1609, allocations: 1.606 MB / 440.8 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005535/0.1665, allocations: 4.687 MB / 445.5 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1665, allocations: 4 kB / 445.5 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1665, allocations: 4 kB / 445.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.064e-05/0.1666, allocations: 0 / 445.5 MB, free: 0.7578 MB / 366.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.2127/0.3793, allocations: 3.688 MB / 449.2 MB, free: 28.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3794, allocations: 9.5 kB / 449.2 MB, free: 28.36 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005538/0.3799, allocations: 436.6 kB / 449.6 MB, free: 28.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003396/0.3833, allocations: 0.7063 MB / 450.3 MB, free: 28.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004138/0.3874, allocations: 1.811 MB / 452.1 MB, free: 27.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.3876, allocations: 198.5 kB / 452.3 MB, free: 27.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004887/0.3881, allocations: 266.2 kB / 452.6 MB, free: 27.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007295/0.3954, allocations: 3.613 MB / 456.2 MB, free: 26.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-05/0.3954, allocations: 5.594 kB / 456.2 MB, free: 26.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.3957, allocations: 110.1 kB / 456.3 MB, free: 26.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001294/0.3958, allocations: 112.6 kB / 456.4 MB, free: 26.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005556/0.4014, allocations: 3.097 MB / 459.5 MB, free: 25.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01599/0.4174, allocations: 10.27 MB / 469.8 MB, free: 18.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003729/0.4211, allocations: 4.476 MB / 474.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.4223, allocations: 0.8557 MB / 475.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003806/0.4261, allocations: 2.399 MB / 477.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.4262, allocations: 51.62 kB / 477.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 3.216e-06/0.4262, allocations: 1.812 kB / 477.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.005577/0.4318, allocations: 2.651 MB / 480.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.4318, allocations: 97.77 kB / 480.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.4333, allocations: 1.368 MB / 481.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.731e-05/0.4334, allocations: 41.67 kB / 481.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000497/0.4339, allocations: 1.197 MB / 482.9 MB, free: 8.965 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.4341, allocations: 383.8 kB / 483.3 MB, free: 8.637 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.4344, allocations: 213.8 kB / 483.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.4345, allocations: 365.6 kB / 483.8 MB, free: 8.164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00076/0.4352, allocations: 0.561 MB / 484.4 MB, free: 7.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008931/0.4361, allocations: 0.847 MB / 485.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.4377, allocations: 1.457 MB / 486.7 MB, free: 5.703 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.4377, allocations: 4 kB / 486.7 MB, free: 5.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002579/0.4402, allocations: 1.957 MB / 488.7 MB, free: 3.727 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.4403, allocations: 8.625 kB / 488.7 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.4403, allocations: 8 kB / 488.7 MB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008213/0.4411, allocations: 397 kB / 489.1 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007152/0.4418, allocations: 219.6 kB / 489.3 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006847/0.4487, allocations: 6.533 MB / 495.8 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.4498, allocations: 147.1 kB / 496 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.4499, allocations: 51.94 kB / 496 MB, free: 12.12 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.001636/0.4515, allocations: 0.8643 MB / 496.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003455/0.4519, allocations: 143.1 kB / 497 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/0.455, allocations: 1.631 MB / 498.7 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.455, allocations: 17.19 kB / 498.7 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.455, allocations: 4 kB / 498.7 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.455, allocations: 3.984 kB / 498.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007427/0.4625, allocations: 3.906 MB / 0.4908 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4625, allocations: 0 / 0.4908 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/0.463, allocations: 135.8 kB / 0.4909 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009441/0.464, allocations: 395 kB / 0.4913 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.256e-05/0.4641, allocations: 31.98 kB / 0.4913 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008309/0.4724, allocations: 6.523 MB / 0.4977 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4724, allocations: 3.938 kB / 0.4977 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004501/0.4769, allocations: 2.47 MB / 0.5001 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006564/0.4775, allocations: 247.9 kB / 0.5004 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.4777, allocations: 27.28 kB / 0.5004 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007528/0.4784, allocations: 87.91 kB / 0.5005 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002631/0.4787, allocations: 104.6 kB / 0.5006 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-05/0.4788, allocations: 31.98 kB / 0.5006 GB, free: 11.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001473/0.4802, allocations: 0.9591 MB / 0.5015 GB, free: 10.13 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4802, allocations: 0 / 0.5015 GB, free: 10.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001996/0.4822, allocations: 0.6814 MB / 0.5022 GB, free: 9.445 MB / 398.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 (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.004557/0.4868, allocations: 3.069 MB / 0.5052 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003825/0.4906, allocations: 1.738 MB / 0.5069 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.4906, allocations: 4 kB / 0.5069 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002159/0.4928, allocations: 1.083 MB / 0.508 GB, free: 3.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.4945, allocations: 307 kB / 0.5083 GB, free: 3.164 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02754/0.522, allocations: 15.93 MB / 0.5238 GB, free: 2.766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002329/0.5244, allocations: 2.176 MB / 0.5259 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00117/0.5255, allocations: 339 kB / 0.5263 GB, free: 224 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/0.5267, allocations: 0.8703 MB / 0.5271 GB, free: 15.35 MB / 430.1 MB Notification: Performance of SimCode: time 2.044e-06/0.5267, allocations: 0 / 0.5271 GB, free: 15.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09131/0.6181, allocations: 38.84 MB / 0.565 GB, free: 8.883 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.31, allocations: 3.938 kB / 0.565 GB, free: 8.879 MB / 462.1 MB " [Timeout remaining time 647] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.722121780272573]