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.001624/0.001624, allocations: 108 kB / 20.43 MB, free: 1.473 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.001507/0.001507, allocations: 186.2 kB / 23.71 MB, free: 4.719 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.45/1.45, allocations: 225.6 MB / 252.5 MB, free: 13.03 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="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.001808/0.001808, allocations: 51.92 kB / 370.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3257, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.00952/0.3352, allocations: 7.315 MB / 430 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005176/0.3404, allocations: 2.203 MB / 432.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.3417, allocations: 67.56 kB / 432.2 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.3432, allocations: 461 kB / 432.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003234/0.3465, allocations: 0.917 MB / 433.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.3476, allocations: 363.4 kB / 433.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004419/0.352, allocations: 3.158 MB / 437.1 MB, free: 80 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002218/0.3542, allocations: 1.577 MB / 438.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.3563, allocations: 1.46 MB / 440.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/0.3589, allocations: 1.712 MB / 441.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000553/0.3594, allocations: 363.9 kB / 442.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.3605, allocations: 475.9 kB / 442.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008185/0.3613, allocations: 0.9075 MB / 443.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001903/0.3632, allocations: 1.614 MB / 445.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005241/0.3685, allocations: 4.686 MB / 449.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3685, allocations: 4 kB / 449.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3685, allocations: 0 / 449.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001136/0.3686, allocations: 0 / 449.9 MB, free: 3.203 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.009057/0.3776, allocations: 3.624 MB / 453.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.3777, allocations: 8.031 kB / 453.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006623/0.3784, allocations: 437.1 kB / 453.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003425/0.3818, allocations: 0.7054 MB / 454.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003866/0.3856, allocations: 1.748 MB / 456.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.3858, allocations: 201.7 kB / 456.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004521/0.3863, allocations: 267.8 kB / 456.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006265/0.3925, allocations: 3.615 MB / 460.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.152e-05/0.3926, allocations: 4 kB / 460.5 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.3928, allocations: 104 kB / 460.6 MB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.393, allocations: 117.4 kB / 460.7 MB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005343/0.3983, allocations: 3.097 MB / 463.8 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01743/0.4157, allocations: 10.11 MB / 473.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003765/0.4195, allocations: 1.776 MB / 475.7 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.4209, allocations: 0.8683 MB / 476.5 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004113/0.425, allocations: 2.152 MB / 478.7 MB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/0.425, allocations: 47.44 kB / 478.7 MB, free: 5.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.376e-06/0.425, allocations: 0 / 478.7 MB, free: 5.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006112/0.4312, allocations: 2.487 MB / 481.2 MB, free: 3.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/0.4312, allocations: 93.92 kB / 481.3 MB, free: 3.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/0.4333, allocations: 1.371 MB / 482.7 MB, free: 1.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.401e-05/0.4334, allocations: 49.7 kB / 482.7 MB, free: 1.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009544/0.4343, allocations: 1.199 MB / 483.9 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/0.4347, allocations: 376.8 kB / 484.3 MB, free: 168 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003465/0.435, allocations: 218.9 kB / 484.5 MB, free: 15.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.4352, allocations: 357.9 kB / 484.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009285/0.4361, allocations: 0.5608 MB / 485.4 MB, free: 15.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.4373, allocations: 0.8451 MB / 486.3 MB, free: 14.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.4394, allocations: 1.459 MB / 487.7 MB, free: 12.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4394, allocations: 0 / 487.7 MB, free: 12.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003389/0.4428, allocations: 1.958 MB / 489.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.4429, allocations: 8 kB / 489.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.4429, allocations: 11.98 kB / 489.7 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000981/0.4439, allocations: 402.4 kB / 490.1 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008095/0.4447, allocations: 215.7 kB / 490.3 MB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008477/0.4531, allocations: 6.329 MB / 496.6 MB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.4543, allocations: 151.1 kB / 496.8 MB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.4544, allocations: 48 kB / 496.8 MB, free: 3.156 MB / 398.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.001687/0.4561, allocations: 0.8642 MB / 497.7 MB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003153/0.4564, allocations: 143.1 kB / 497.8 MB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003056/0.4594, allocations: 1.636 MB / 499.5 MB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.4594, allocations: 12 kB / 499.5 MB, free: 492 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.4595, allocations: 8 kB / 499.5 MB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.4595, allocations: 11.91 kB / 499.5 MB, free: 472 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00756/0.467, allocations: 3.89 MB / 0.4916 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.467, allocations: 0 / 0.4916 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/0.4676, allocations: 127.9 kB / 0.4917 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009659/0.4686, allocations: 401.4 kB / 0.4921 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.392e-05/0.4687, allocations: 27.98 kB / 0.4921 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007946/0.4766, allocations: 6.309 MB / 0.4983 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4766, allocations: 0 / 0.4983 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004242/0.4809, allocations: 2.47 MB / 0.5007 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005156/0.4814, allocations: 174.9 kB / 0.5009 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/0.4817, allocations: 24 kB / 0.5009 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008707/0.4826, allocations: 91.84 kB / 0.501 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/0.4828, allocations: 100.7 kB / 0.5011 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.8e-05/0.4829, allocations: 35.98 kB / 0.5011 GB, free: 2.473 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001627/0.4845, allocations: 0.959 MB / 0.502 GB, free: 1.508 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4845, allocations: 0 / 0.502 GB, free: 1.508 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002096/0.4866, allocations: 0.6852 MB / 0.5027 GB, free: 0.8203 MB / 414.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.004531/0.4911, allocations: 3.072 MB / 0.5057 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00329/0.4944, allocations: 1.733 MB / 0.5074 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4944, allocations: 0 / 0.5074 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001982/0.4964, allocations: 1.098 MB / 0.5085 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.4981, allocations: 307 kB / 0.5088 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02599/0.5241, allocations: 15.94 MB / 0.5243 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00239/0.5265, allocations: 2.18 MB / 0.5265 GB, free: 7.863 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001026/0.5275, allocations: 343 kB / 0.5268 GB, free: 7.523 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/0.5286, allocations: 0.8664 MB / 0.5276 GB, free: 6.656 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5286, allocations: 0 / 0.5276 GB, free: 6.656 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.309/0.8375, allocations: 39.76 MB / 0.5665 GB, free: 85.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.91, allocations: 3.953 kB / 0.5665 GB, free: 85.97 MB / 446.1 MB " [Timeout remaining time 645] (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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.004654402844608]