Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.0008878/0.0008878, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001032/0.001032, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8879/0.8879, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.035e-05, allocations: 3.125 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01028/0.0103, allocations: 14.34 MB / 338.9 MB, free: 1.496 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006898/0.0172, allocations: 4.56 MB / 343.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.0183, allocations: 159.2 kB / 343.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006624/0.02493, allocations: 7.074 MB / 350.7 MB, free: 5.668 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002916/0.02784, allocations: 2.03 MB / 352.7 MB, free: 3.633 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.02955, allocations: 1.511 MB / 354.2 MB, free: 2.121 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006052/0.03561, allocations: 9.925 MB / 364.1 MB, free: 8.152 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01425/0.04986, allocations: 13.49 MB / 377.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007687/0.05755, allocations: 7.742 MB / 385.4 MB, free: 2.762 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004389/0.06194, allocations: 5.251 MB / 390.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001405/0.06334, allocations: 1.359 MB / 392 MB, free: 12.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.06504, allocations: 1.679 MB / 393.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001317/0.06635, allocations: 2.844 MB / 396.5 MB, free: 7.609 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002927/0.06928, allocations: 3.606 MB / 400.1 MB, free: 3.996 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.08095, allocations: 18.65 MB / 418.7 MB, free: 1.297 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.08095, allocations: 4 kB / 418.7 MB, free: 1.293 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.08096, allocations: 3.938 kB / 418.7 MB, free: 1.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002933/0.08125, allocations: 0 / 418.7 MB, free: 1.289 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.02131/0.1026, allocations: 12.16 MB / 430.9 MB, free: 5.047 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1026, allocations: 11.98 kB / 430.9 MB, free: 5.035 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002548/0.1052, allocations: 1.516 MB / 432.4 MB, free: 3.512 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01706/0.1222, allocations: 6.199 MB / 438.6 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009385/0.1316, allocations: 5.928 MB / 444.6 MB, free: 7.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003986/0.132, allocations: 0.6743 MB / 445.2 MB, free: 6.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002639/0.1346, allocations: 0.8788 MB / 446.1 MB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3016/0.4362, allocations: 14.98 MB / 461.1 MB, free: 96.41 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001759/0.4364, allocations: 10.89 kB / 461.1 MB, free: 96.41 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00118/0.4375, allocations: 373.8 kB / 461.5 MB, free: 96.12 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002948/0.4378, allocations: 497.3 kB / 462 MB, free: 96.08 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01775/0.4556, allocations: 13.51 MB / 475.5 MB, free: 88.54 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04379/0.4994, allocations: 40.1 MB / 0.5035 GB, free: 48.33 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005915/0.5053, allocations: 5.965 MB / 0.5093 GB, free: 42.57 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002499/0.5078, allocations: 2.861 MB / 0.5121 GB, free: 39.71 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002342/0.508, allocations: 111.1 kB / 0.5122 GB, free: 39.61 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.5081, allocations: 82.5 kB / 0.5123 GB, free: 39.52 MB / 410.8 MB Notification: Performance of pre-optimization done (n=409): time 6.332e-06/0.5081, allocations: 0 / 0.5123 GB, free: 39.52 MB / 410.8 MB Notification: Performance of matching and sorting (n=409): time 0.01125/0.5193, allocations: 9.433 MB / 0.5215 GB, free: 30.1 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.5194, allocations: 125 kB / 0.5216 GB, free: 29.96 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002928/0.5223, allocations: 3.274 MB / 0.5248 GB, free: 26.75 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003332/0.5226, allocations: 93.7 kB / 0.5249 GB, free: 26.66 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.5237, allocations: 3.818 MB / 0.5286 GB, free: 23.25 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007415/0.5245, allocations: 1.439 MB / 0.53 GB, free: 21.83 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009704/0.5254, allocations: 1.14 MB / 0.5311 GB, free: 20.68 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.075e-05/0.5255, allocations: 305.1 kB / 0.5314 GB, free: 20.38 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002427/0.5279, allocations: 2.845 MB / 0.5342 GB, free: 17.53 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002716/0.5306, allocations: 4.904 MB / 0.539 GB, free: 11.68 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005633/0.5362, allocations: 8.275 MB / 0.5471 GB, free: 2.469 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.15e-05/0.5363, allocations: 20 kB / 0.5471 GB, free: 2.449 MB / 410.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01052/0.5468, allocations: 9.115 MB / 0.556 GB, free: 9.32 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/0.5469, allocations: 36 kB / 0.556 GB, free: 9.285 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.197e-05/0.547, allocations: 64 kB / 0.5561 GB, free: 9.223 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002043/0.549, allocations: 1.152 MB / 0.5572 GB, free: 8.062 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003018/0.552, allocations: 1.303 MB / 0.5585 GB, free: 6.758 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.5626, allocations: 10.43 MB / 0.5687 GB, free: 12.09 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003309/0.5659, allocations: 0.7491 MB / 0.5694 GB, free: 11.34 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006985/0.5666, allocations: 280 kB / 0.5697 GB, free: 11.07 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004738/0.5713, allocations: 3.423 MB / 0.573 GB, free: 7.629 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000612/0.5719, allocations: 373.6 kB / 0.5734 GB, free: 7.262 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008366/0.5803, allocations: 6.882 MB / 0.5801 GB, free: 364 kB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006481/0.5868, allocations: 5.723 MB / 0.5857 GB, free: 10.62 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.089e-05/0.5868, allocations: 11.94 kB / 0.5857 GB, free: 10.61 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.828e-05/0.5868, allocations: 27.91 kB / 0.5857 GB, free: 10.58 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01915/0.606, allocations: 14.74 MB / 0.6001 GB, free: 11.7 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/0.606, allocations: 16 kB / 0.6001 GB, free: 11.68 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/0.6078, allocations: 0.7965 MB / 0.6009 GB, free: 10.88 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002038/0.6098, allocations: 1.067 MB / 0.602 GB, free: 9.809 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003725/0.6102, allocations: 116.2 kB / 0.6021 GB, free: 9.695 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/0.6216, allocations: 10.21 MB / 0.612 GB, free: 15.27 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.6216, allocations: 19.94 kB / 0.6121 GB, free: 15.25 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/0.6337, allocations: 10.68 MB / 0.6225 GB, free: 4.336 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/0.6354, allocations: 0.9688 MB / 0.6234 GB, free: 3.363 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003622/0.6358, allocations: 92 kB / 0.6235 GB, free: 3.273 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.637, allocations: 271.8 kB / 0.6238 GB, free: 3.008 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004965/0.6375, allocations: 367 kB / 0.6241 GB, free: 2.648 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/0.6377, allocations: 148 kB / 0.6243 GB, free: 2.504 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002507/0.6402, allocations: 2.117 MB / 0.6263 GB, free: 392 kB / 490.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6402, allocations: 4 kB / 0.6263 GB, free: 388 kB / 490.8 MB Notification: Performance of remove unused functions: time 0.1888/0.829, allocations: 2.246 MB / 0.6285 GB, free: 162.2 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01225/0.8413, allocations: 11.42 MB / 0.6397 GB, free: 159.1 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.008821/0.8501, allocations: 7.162 MB / 0.6467 GB, free: 156.4 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.389e-05/0.8501, allocations: 3.906 kB / 0.6467 GB, free: 156.4 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00363/0.8537, allocations: 3.416 MB / 0.65 GB, free: 155.1 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/0.8564, allocations: 0.7952 MB / 0.6508 GB, free: 154.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04971/0.9061, allocations: 51.86 MB / 0.7014 GB, free: 106.5 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003404/0.9095, allocations: 5.467 MB / 0.7068 GB, free: 101 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003032/0.9126, allocations: 2.159 MB / 0.7089 GB, free: 98.86 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002038/0.9146, allocations: 3.027 MB / 0.7118 GB, free: 95.83 MB / 490.8 MB Notification: Performance of SimCode: time 1.122e-06/0.9146, allocations: 0 / 0.7118 GB, free: 95.83 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.311/1.226, allocations: 116.9 MB / 0.826 GB, free: 145.9 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.91, allocations: 12.41 kB / 0.826 GB, free: 145.9 MB / 490.8 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.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_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.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: 13.795023552142084]