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.001343/0.001343, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001395/0.001395, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.468/1.468, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.001941/0.001941, allocations: 56.14 kB / 377.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2344, allocations: 53.41 MB / 431.1 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009473/0.2438, allocations: 6.934 MB / 438.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00496/0.2488, allocations: 2.378 MB / 440.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007955/0.2496, allocations: 71.56 kB / 440.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.2506, allocations: 464.8 kB / 441 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.2528, allocations: 0.8703 MB / 441.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00089/0.2537, allocations: 395.2 kB / 442.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004028/0.2577, allocations: 3.257 MB / 445.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.2599, allocations: 1.533 MB / 447 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.2618, allocations: 1.464 MB / 448.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002423/0.2643, allocations: 1.705 MB / 450.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005663/0.2648, allocations: 360 kB / 450.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009881/0.2658, allocations: 483.9 kB / 451 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008425/0.2667, allocations: 0.9153 MB / 451.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001567/0.2682, allocations: 1.299 MB / 453.2 MB, free: 376 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005108/0.2733, allocations: 4.745 MB / 458 MB, free: 11.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2733, allocations: 0 / 458 MB, free: 11.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2733, allocations: 0 / 458 MB, free: 11.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000106/0.2735, allocations: 0 / 458 MB, free: 11.6 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.00925/0.2827, allocations: 3.651 MB / 461.6 MB, free: 7.902 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.2828, allocations: 15.97 kB / 461.7 MB, free: 7.887 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007072/0.2835, allocations: 437.1 kB / 462.1 MB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004388/0.2878, allocations: 0.7406 MB / 462.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004803/0.2926, allocations: 1.803 MB / 464.6 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.2928, allocations: 197.7 kB / 464.8 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004666/0.2933, allocations: 271.9 kB / 465.1 MB, free: 4.398 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006752/0.3, allocations: 3.845 MB / 468.9 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.625e-05/0.3001, allocations: 4 kB / 468.9 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/0.3004, allocations: 108 kB / 469 MB, free: 344 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.3005, allocations: 109.4 kB / 469.1 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005552/0.306, allocations: 3.097 MB / 472.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01638/0.3224, allocations: 9.308 MB / 481.5 MB, free: 3.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004078/0.3265, allocations: 1.76 MB / 483.3 MB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.328, allocations: 0.8764 MB / 484.2 MB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004548/0.3325, allocations: 1.993 MB / 486.2 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.957e-05/0.3326, allocations: 51.38 kB / 486.2 MB, free: 14.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 3.186e-06/0.3326, allocations: 0 / 486.2 MB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006632/0.3392, allocations: 2.495 MB / 488.7 MB, free: 12.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.3393, allocations: 93.92 kB / 488.8 MB, free: 12.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.3417, allocations: 1.415 MB / 490.2 MB, free: 10.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.3418, allocations: 41.7 kB / 490.3 MB, free: 10.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.3428, allocations: 1.211 MB / 491.5 MB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003568/0.3432, allocations: 384.8 kB / 491.9 MB, free: 9.062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003591/0.3435, allocations: 226.8 kB / 492.1 MB, free: 8.836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.3437, allocations: 349.9 kB / 492.4 MB, free: 8.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.3447, allocations: 0.5647 MB / 493 MB, free: 7.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.346, allocations: 0.8373 MB / 493.8 MB, free: 6.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/0.3482, allocations: 1.467 MB / 495.3 MB, free: 5.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.3482, allocations: 8 kB / 495.3 MB, free: 5.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003597/0.3518, allocations: 1.946 MB / 497.2 MB, free: 3.426 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.3519, allocations: 12.03 kB / 497.3 MB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.3519, allocations: 8 kB / 497.3 MB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.3529, allocations: 404.3 kB / 497.7 MB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008291/0.3538, allocations: 215.6 kB / 497.9 MB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008329/0.3621, allocations: 6.248 MB / 0.4923 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.3634, allocations: 139.1 kB / 0.4924 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.3635, allocations: 55.98 kB / 0.4925 GB, free: 12.13 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.001989/0.3655, allocations: 0.8681 MB / 0.4933 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003701/0.3659, allocations: 147.1 kB / 0.4935 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/0.369, allocations: 1.636 MB / 0.4951 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.369, allocations: 12 kB / 0.4951 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.369, allocations: 8 kB / 0.4951 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.369, allocations: 7.922 kB / 0.4951 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007057/0.376, allocations: 3.731 MB / 0.4987 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.3761, allocations: 7.984 kB / 0.4987 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/0.3766, allocations: 135.8 kB / 0.4989 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009399/0.3776, allocations: 389.6 kB / 0.4992 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.407e-05/0.3777, allocations: 31.97 kB / 0.4993 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008176/0.3858, allocations: 6.23 MB / 0.5054 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3859, allocations: 4.031 kB / 0.5054 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004309/0.3902, allocations: 2.482 MB / 0.5078 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004937/0.3907, allocations: 178.9 kB / 0.508 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.3908, allocations: 27.94 kB / 0.508 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008099/0.3916, allocations: 87.84 kB / 0.5081 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/0.3919, allocations: 104.6 kB / 0.5082 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.72e-05/0.392, allocations: 35.98 kB / 0.5082 GB, free: 11.65 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001447/0.3934, allocations: 0.9756 MB / 0.5092 GB, free: 10.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3934, allocations: 0 / 0.5092 GB, free: 10.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001966/0.3954, allocations: 0.6891 MB / 0.5098 GB, free: 9.98 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.004584/0.3999, allocations: 3.083 MB / 0.5128 GB, free: 6.836 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003197/0.4031, allocations: 1.741 MB / 0.5145 GB, free: 5.062 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.4032, allocations: 0 / 0.5145 GB, free: 5.062 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.4051, allocations: 1.086 MB / 0.5156 GB, free: 3.953 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.4067, allocations: 312.5 kB / 0.5159 GB, free: 3.648 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02545/0.4321, allocations: 16.03 MB / 0.5316 GB, free: 3.141 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/0.4341, allocations: 1.613 MB / 0.5331 GB, free: 1.484 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001018/0.4351, allocations: 347 kB / 0.5335 GB, free: 1.141 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.4363, allocations: 0.882 MB / 0.5343 GB, free: 264 kB / 446.1 MB Notification: Performance of SimCode: time 1.123e-06/0.4363, allocations: 3.938 kB / 0.5343 GB, free: 260 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.269/0.7052, allocations: 41.38 MB / 0.5747 GB, free: 71.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.46, allocations: 3.984 kB / 0.5747 GB, free: 71.68 MB / 446.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.11819078400731]