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.0009901/0.0009901, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001106/0.001106, allocations: 156.9 kB / 23.94 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.9849/0.9849, allocations: 177 MB / 204.1 MB, free: 5.746 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 2.285e-06/2.285e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.157e-05, allocations: 3.125 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01139/0.01142, allocations: 14.33 MB / 338.9 MB, free: 1.473 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009408/0.02083, allocations: 4.563 MB / 343.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003385/0.02421, allocations: 155.2 kB / 343.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008813/0.03303, allocations: 7.09 MB / 350.7 MB, free: 5.633 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006701/0.03973, allocations: 2.019 MB / 352.7 MB, free: 3.605 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003633/0.04336, allocations: 1.51 MB / 354.2 MB, free: 2.098 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009502/0.05286, allocations: 9.929 MB / 364.1 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01853/0.07139, allocations: 13.49 MB / 377.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01125/0.08264, allocations: 7.738 MB / 385.4 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008426/0.09107, allocations: 5.248 MB / 390.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004002/0.09507, allocations: 1.359 MB / 392 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005257/0.1003, allocations: 1.683 MB / 393.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004412/0.1047, allocations: 2.852 MB / 396.5 MB, free: 7.582 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007461/0.1122, allocations: 3.598 MB / 400.1 MB, free: 3.977 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0166/0.1288, allocations: 18.65 MB / 418.7 MB, free: 1.277 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.1288, allocations: 0 / 418.7 MB, free: 1.277 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1288, allocations: 0 / 418.7 MB, free: 1.277 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005199/0.1293, allocations: 3.938 kB / 418.7 MB, free: 1.273 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.02933/0.1587, allocations: 12.16 MB / 430.9 MB, free: 5.027 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.1587, allocations: 11.98 kB / 430.9 MB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004928/0.1636, allocations: 1.513 MB / 432.4 MB, free: 3.492 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01968/0.1833, allocations: 6.203 MB / 438.6 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01222/0.1955, allocations: 5.928 MB / 444.6 MB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006731/0.1962, allocations: 0.6743 MB / 445.2 MB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003753/0.2, allocations: 0.8788 MB / 446.1 MB, free: 5.723 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3328/0.5327, allocations: 14.97 MB / 461.1 MB, free: 96.44 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001993/0.5329, allocations: 12.27 kB / 461.1 MB, free: 96.44 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001629/0.5346, allocations: 372.7 kB / 461.5 MB, free: 96.16 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00035/0.5349, allocations: 0.4886 MB / 462 MB, free: 96.11 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0181/0.553, allocations: 13.51 MB / 475.5 MB, free: 88.52 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04646/0.5995, allocations: 40.09 MB / 0.5035 GB, free: 48.32 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005698/0.6052, allocations: 5.966 MB / 0.5093 GB, free: 42.55 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002358/0.6075, allocations: 2.865 MB / 0.5121 GB, free: 39.7 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/0.6077, allocations: 103.9 kB / 0.5122 GB, free: 39.59 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.6078, allocations: 86.48 kB / 0.5123 GB, free: 39.5 MB / 410.8 MB Notification: Performance of pre-optimization done (n=409): time 6.783e-06/0.6078, allocations: 3.938 kB / 0.5123 GB, free: 39.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=409): time 0.01121/0.619, allocations: 9.427 MB / 0.5215 GB, free: 30.09 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.619, allocations: 125 kB / 0.5216 GB, free: 29.95 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00318/0.6222, allocations: 3.282 MB / 0.5248 GB, free: 26.74 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.6224, allocations: 93.7 kB / 0.5249 GB, free: 26.64 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001145/0.6236, allocations: 3.814 MB / 0.5286 GB, free: 23.25 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006652/0.6242, allocations: 1.439 MB / 0.53 GB, free: 21.82 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/0.6253, allocations: 1.14 MB / 0.5311 GB, free: 20.67 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.561e-05/0.6253, allocations: 305.1 kB / 0.5314 GB, free: 20.37 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0025/0.6278, allocations: 2.841 MB / 0.5342 GB, free: 17.52 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002935/0.6307, allocations: 4.908 MB / 0.539 GB, free: 11.67 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006022/0.6367, allocations: 8.278 MB / 0.5471 GB, free: 2.457 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.291e-05/0.6368, allocations: 20 kB / 0.5471 GB, free: 2.438 MB / 410.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01097/0.6478, allocations: 9.105 MB / 0.556 GB, free: 9.32 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.6478, allocations: 39.98 kB / 0.556 GB, free: 9.281 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-05/0.6479, allocations: 64 kB / 0.5561 GB, free: 9.219 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001981/0.6499, allocations: 1.156 MB / 0.5572 GB, free: 8.055 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/0.6524, allocations: 1.299 MB / 0.5585 GB, free: 6.754 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009893/0.6623, allocations: 10.43 MB / 0.5687 GB, free: 12.09 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/0.6654, allocations: 0.7491 MB / 0.5694 GB, free: 11.34 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000575/0.666, 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.005014/0.671, allocations: 3.419 MB / 0.573 GB, free: 7.633 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005937/0.6716, allocations: 365.7 kB / 0.5734 GB, free: 7.273 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008023/0.6796, allocations: 6.89 MB / 0.5801 GB, free: 368 kB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006201/0.6858, allocations: 5.733 MB / 0.5857 GB, free: 10.61 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.093e-05/0.6859, allocations: 12 kB / 0.5857 GB, free: 10.6 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-05/0.6859, allocations: 23.86 kB / 0.5857 GB, free: 10.58 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02037/0.7063, allocations: 14.75 MB / 0.6001 GB, free: 11.68 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/0.7063, allocations: 16 kB / 0.6002 GB, free: 11.67 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/0.708, allocations: 0.792 MB / 0.6009 GB, free: 10.88 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/0.7099, allocations: 1.063 MB / 0.602 GB, free: 9.805 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003037/0.7102, allocations: 120 kB / 0.6021 GB, free: 9.688 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009967/0.7202, allocations: 10.21 MB / 0.612 GB, free: 15.26 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.7202, allocations: 19.94 kB / 0.6121 GB, free: 15.24 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/0.7341, allocations: 10.67 MB / 0.6225 GB, free: 4.332 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/0.736, allocations: 0.9688 MB / 0.6234 GB, free: 3.359 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00049/0.7365, allocations: 95.98 kB / 0.6235 GB, free: 3.266 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.7379, allocations: 267.7 kB / 0.6238 GB, free: 3.004 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005557/0.7384, allocations: 363 kB / 0.6241 GB, free: 2.648 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002113/0.7386, allocations: 152 kB / 0.6243 GB, free: 2.5 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002817/0.7415, allocations: 2.121 MB / 0.6263 GB, free: 384 kB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.7415, allocations: 0 / 0.6263 GB, free: 384 kB / 490.8 MB Notification: Performance of remove unused functions: time 0.1877/0.9292, allocations: 2.245 MB / 0.6285 GB, free: 162.1 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.0114/0.9406, allocations: 11.42 MB / 0.6397 GB, free: 159 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.008475/0.9491, allocations: 7.158 MB / 0.6467 GB, free: 156.4 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.998e-05/0.9491, allocations: 3.812 kB / 0.6467 GB, free: 156.4 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003836/0.9529, allocations: 3.422 MB / 0.65 GB, free: 155 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/0.9557, allocations: 0.8001 MB / 0.6508 GB, free: 154.7 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05521/1.011, allocations: 51.85 MB / 0.7014 GB, free: 106.5 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005512/1.016, allocations: 5.466 MB / 0.7068 GB, free: 101 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003455/1.02, allocations: 2.163 MB / 0.7089 GB, free: 98.87 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002448/1.022, allocations: 3.031 MB / 0.7118 GB, free: 95.83 MB / 490.8 MB Notification: Performance of SimCode: time 2.485e-06/1.022, allocations: 0 / 0.7118 GB, free: 95.83 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3115/1.334, allocations: 116.9 MB / 0.826 GB, free: 146.1 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/12.27, allocations: 4.594 kB / 0.826 GB, free: 146.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 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.mat","/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 15.350025061517954]