Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001344, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001537, allocations: 207.5 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 230.4 MB / 254 MB, free: 14.99 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 63.89 kB / 373 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1098, allocations: 53.37 MB / 426.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2304/0.3402, allocations: 7.887 MB / 434.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00421/0.3444, allocations: 2.498 MB / 436.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000805/0.3452, allocations: 70.53 kB / 436.8 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009279/0.3462, allocations: 469.6 kB / 437.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.3484, allocations: 0.8716 MB / 438.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009656/0.3494, allocations: 403.5 kB / 438.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003792/0.3532, allocations: 3.25 MB / 441.8 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002595/0.3558, allocations: 2.124 MB / 443.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.3583, allocations: 1.459 MB / 445.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003248/0.3615, allocations: 1.718 MB / 447.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000804/0.3623, allocations: 363.2 kB / 447.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.364, allocations: 491.5 kB / 447.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.3651, allocations: 0.9128 MB / 448.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002242/0.3673, allocations: 1.608 MB / 450.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007384/0.3747, allocations: 4.718 MB / 455.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3747, allocations: 4 kB / 455.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3747, allocations: 0 / 455.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002027/0.3749, allocations: 0 / 455.2 MB, free: 13.68 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.0122/0.3871, allocations: 3.725 MB / 458.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.3872, allocations: 8.938 kB / 458.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009416/0.3881, allocations: 446.8 kB / 459.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00454/0.3927, allocations: 0.7385 MB / 460.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004801/0.3975, allocations: 1.85 MB / 461.9 MB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.3976, allocations: 200.5 kB / 462.1 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005862/0.3982, allocations: 272.2 kB / 462.4 MB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007212/0.4054, allocations: 3.624 MB / 466 MB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.493e-05/0.4055, allocations: 0.9375 kB / 466 MB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002871/0.4058, allocations: 110.5 kB / 466.1 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-05/0.4059, allocations: 107.1 kB / 466.2 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005472/0.4113, allocations: 3.098 MB / 469.3 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01745/0.4288, allocations: 10.29 MB / 479.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005472/0.4343, allocations: 4.477 MB / 484.1 MB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.4357, allocations: 0.8678 MB / 484.9 MB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004653/0.4404, allocations: 2.651 MB / 487.6 MB, free: 2.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.419e-05/0.4404, allocations: 52.25 kB / 487.6 MB, free: 2.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.604e-06/0.4404, allocations: 4 kB / 487.7 MB, free: 2.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006542/0.447, allocations: 2.65 MB / 490.3 MB, free: 15.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.447, allocations: 97.86 kB / 490.4 MB, free: 15.24 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.4494, allocations: 1.4 MB / 491.8 MB, free: 13.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.265e-05/0.4495, allocations: 49.7 kB / 491.8 MB, free: 13.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009483/0.4505, allocations: 1.203 MB / 493 MB, free: 12.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003627/0.4508, allocations: 384.8 kB / 493.4 MB, free: 12.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003766/0.4512, allocations: 218.9 kB / 493.6 MB, free: 11.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.4514, allocations: 353.9 kB / 494 MB, free: 11.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.4524, allocations: 0.5608 MB / 494.5 MB, free: 11.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.4537, allocations: 0.8491 MB / 495.4 MB, free: 10.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00225/0.4559, allocations: 1.461 MB / 496.9 MB, free: 8.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.4559, allocations: 0 / 496.9 MB, free: 8.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003776/0.4597, allocations: 1.961 MB / 498.8 MB, free: 6.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.4597, allocations: 8 kB / 498.8 MB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.4597, allocations: 8 kB / 498.8 MB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.4609, allocations: 401.3 kB / 499.2 MB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008583/0.4618, allocations: 221.2 kB / 499.4 MB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008663/0.4704, allocations: 6.544 MB / 0.4941 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.4717, allocations: 139.1 kB / 0.4943 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-05/0.4718, allocations: 47.98 kB / 0.4943 GB, free: 14.91 MB / 414.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.001883/0.4737, allocations: 0.8643 MB / 0.4951 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/0.474, allocations: 151.2 kB / 0.4953 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003175/0.4772, allocations: 1.64 MB / 0.4969 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.4772, allocations: 8 kB / 0.4969 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.4772, allocations: 8 kB / 0.4969 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.4772, allocations: 7.984 kB / 0.4969 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006951/0.4842, allocations: 3.918 MB / 0.5007 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4842, allocations: 0 / 0.5007 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.4848, allocations: 135.8 kB / 0.5009 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009689/0.4857, allocations: 396.4 kB / 0.5013 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.188e-05/0.4858, allocations: 31.98 kB / 0.5013 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008076/0.4939, allocations: 6.512 MB / 0.5076 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.4939, allocations: 4.875 kB / 0.5076 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004313/0.4982, allocations: 2.482 MB / 0.5101 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006036/0.4988, allocations: 255.9 kB / 0.5103 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.499, allocations: 24 kB / 0.5103 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008486/0.4998, allocations: 91.84 kB / 0.5104 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/0.5001, allocations: 100.7 kB / 0.5105 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-05/0.5002, allocations: 31.98 kB / 0.5105 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001566/0.5018, allocations: 0.9795 MB / 0.5115 GB, free: 12.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5018, allocations: 0 / 0.5115 GB, free: 12.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002218/0.504, allocations: 0.693 MB / 0.5122 GB, free: 12.14 MB / 430.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.004657/0.5086, allocations: 3.084 MB / 0.5152 GB, free: 9.004 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003537/0.5122, allocations: 1.742 MB / 0.5169 GB, free: 7.238 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5122, allocations: 0 / 0.5169 GB, free: 7.238 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.5141, allocations: 1.09 MB / 0.518 GB, free: 6.129 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.5161, allocations: 306.6 kB / 0.5183 GB, free: 5.832 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02694/0.5431, allocations: 16.03 MB / 0.5339 GB, free: 5.312 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/0.5452, allocations: 2.196 MB / 0.5361 GB, free: 3.078 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009786/0.5462, allocations: 339 kB / 0.5364 GB, free: 2.742 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/0.5474, allocations: 0.882 MB / 0.5372 GB, free: 1.859 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5474, allocations: 3.938 kB / 0.5372 GB, free: 1.855 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09018/0.6376, allocations: 39.26 MB / 0.5756 GB, free: 10.91 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.57, allocations: 19.48 kB / 0.5756 GB, free: 10.9 MB / 494.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv --start-time 0 --stop-time 40 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable converter_e.singlePhaseElectroMagneticConverter[1].Phi.re in file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable converter_e.singlePhaseElectroMagneticConverter[1].Phi.re from file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable converter_e.singlePhaseElectroMagneticConverter[2].Phi.im in file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable converter_e.singlePhaseElectroMagneticConverter[2].Phi.im from file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable loss_m.Phi.im in file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable loss_m.Phi.im from file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable loss_m.Phi.re in file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable loss_m.Phi.re from file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.4134551549796]