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.001692/0.001692, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001957/0.001957, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.461/1.461, allocations: 230.2 MB / 254.5 MB, free: 15.08 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.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 0.001955/0.001955, allocations: 71.88 kB / 373.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09363, allocations: 53.31 MB / 426.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1934/0.287, allocations: 16.67 MB / 443.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008993/0.296, allocations: 4.717 MB / 448.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002648/0.2987, allocations: 134.1 kB / 448.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01741/0.3161, allocations: 7.225 MB / 455.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008049/0.3241, allocations: 1.969 MB / 457.4 MB, free: 9.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00477/0.3289, allocations: 1.546 MB / 458.9 MB, free: 8.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01346/0.3424, allocations: 9.506 MB / 468.4 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02974/0.3721, allocations: 16.25 MB / 484.7 MB, free: 7.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008607/0.3807, allocations: 5.257 MB / 489.9 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009875/0.3906, allocations: 5.962 MB / 495.9 MB, free: 11.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003811/0.3944, allocations: 1.359 MB / 497.3 MB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005921/0.4003, allocations: 1.668 MB / 498.9 MB, free: 8.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004599/0.4049, allocations: 2.802 MB / 0.49 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01073/0.4156, allocations: 5.354 MB / 0.4952 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02676/0.4424, allocations: 18.41 MB / 0.5132 GB, free: 14.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4424, allocations: 0 / 0.5132 GB, free: 14.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4424, allocations: 8 kB / 0.5132 GB, free: 14.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005175/0.4429, allocations: 0 / 0.5132 GB, free: 14.24 MB / 430.1 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.03481/0.4777, allocations: 12.32 MB / 0.5252 GB, free: 1.816 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.4778, allocations: 12.03 kB / 0.5252 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003523/0.4813, allocations: 1.513 MB / 0.5267 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03847/0.5198, allocations: 6.204 MB / 0.5328 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01521/0.535, allocations: 5.838 MB / 0.5385 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006403/0.5356, allocations: 0.6665 MB / 0.5391 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003002/0.5386, allocations: 0.8846 MB / 0.54 GB, free: 2.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03217/0.5708, allocations: 14.75 MB / 0.5544 GB, free: 3.812 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002212/0.571, allocations: 11.94 kB / 0.5544 GB, free: 3.801 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00143/0.5724, allocations: 379.9 kB / 0.5548 GB, free: 3.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005153/0.573, allocations: 495.3 kB / 0.5552 GB, free: 2.941 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02806/0.601, allocations: 13.57 MB / 0.5685 GB, free: 5.34 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08372/0.6847, allocations: 44.73 MB / 0.6122 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4223/1.107, allocations: 11.25 MB / 0.6232 GB, free: 146.9 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00475/1.112, allocations: 2.865 MB / 0.626 GB, free: 146.9 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004453/1.112, allocations: 291.1 kB / 0.6262 GB, free: 146.7 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/1.112, allocations: 80.8 kB / 0.6263 GB, free: 146.6 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=409): time 6.252e-06/1.112, allocations: 0 / 0.6263 GB, free: 146.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=409): time 0.02243/1.135, allocations: 9.59 MB / 0.6357 GB, free: 144 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/1.135, allocations: 121.2 kB / 0.6358 GB, free: 143.9 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006728/1.142, allocations: 3.159 MB / 0.6389 GB, free: 142.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008312/1.142, allocations: 92.3 kB / 0.639 GB, free: 142.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002386/1.145, allocations: 3.832 MB / 0.6427 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001823/1.147, allocations: 1.462 MB / 0.6441 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002502/1.149, allocations: 1.147 MB / 0.6453 GB, free: 139.2 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.869e-05/1.149, allocations: 303.1 kB / 0.6455 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005787/1.155, allocations: 2.842 MB / 0.6483 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007082/1.162, allocations: 4.911 MB / 0.6531 GB, free: 134.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/1.175, allocations: 8.275 MB / 0.6612 GB, free: 129 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.889e-05/1.175, allocations: 19.25 kB / 0.6612 GB, free: 129 MB / 0.5138 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01486/1.19, allocations: 9.113 MB / 0.6701 GB, free: 125.6 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/1.19, allocations: 31.12 kB / 0.6701 GB, free: 125.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/1.19, allocations: 70.12 kB / 0.6702 GB, free: 125.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002806/1.193, allocations: 1.143 MB / 0.6713 GB, free: 125.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003993/1.197, allocations: 1.309 MB / 0.6726 GB, free: 125.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/1.209, allocations: 10.82 MB / 0.6832 GB, free: 116.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004603/1.214, allocations: 0.7474 MB / 0.6839 GB, free: 115.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006778/1.214, allocations: 284.8 kB / 0.6842 GB, free: 115.4 MB / 0.5138 GB 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.005006/1.219, allocations: 3.425 MB / 0.6875 GB, free: 111.9 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007228/1.22, allocations: 365.6 kB / 0.6879 GB, free: 111.6 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009348/1.229, allocations: 6.879 MB / 0.6946 GB, free: 104.7 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007/1.236, allocations: 5.721 MB / 0.7002 GB, free: 98.92 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/1.236, allocations: 12 kB / 0.7002 GB, free: 98.91 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.062e-05/1.236, allocations: 23.91 kB / 0.7002 GB, free: 98.89 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02184/1.258, allocations: 15.24 MB / 0.7151 GB, free: 83.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/1.258, allocations: 12.88 kB / 0.7151 GB, free: 83.49 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00273/1.261, allocations: 0.7957 MB / 0.7159 GB, free: 82.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002648/1.264, allocations: 1.056 MB / 0.7169 GB, free: 81.63 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003617/1.264, allocations: 116 kB / 0.717 GB, free: 81.52 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/1.275, allocations: 10.58 MB / 0.7273 GB, free: 70.67 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/1.275, allocations: 23.88 kB / 0.7274 GB, free: 70.64 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/1.288, allocations: 10.69 MB / 0.7378 GB, free: 59.71 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002339/1.29, allocations: 1.017 MB / 0.7388 GB, free: 58.68 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005466/1.291, allocations: 95.98 kB / 0.7389 GB, free: 58.58 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001919/1.293, allocations: 271.7 kB / 0.7392 GB, free: 58.32 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000557/1.293, allocations: 339.2 kB / 0.7395 GB, free: 57.98 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002329/1.294, allocations: 155.8 kB / 0.7396 GB, free: 57.84 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002385/1.296, allocations: 2.125 MB / 0.7417 GB, free: 55.71 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6e-08/1.296, allocations: 0 / 0.7417 GB, free: 55.71 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.00522/1.301, allocations: 2.262 MB / 0.7439 GB, free: 53.44 MB / 0.5138 GB 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.01262/1.314, allocations: 11.44 MB / 0.7551 GB, free: 41.77 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01046/1.324, allocations: 7.162 MB / 0.7621 GB, free: 34.6 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/1.324, allocations: 0.875 kB / 0.7621 GB, free: 34.6 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005335/1.33, allocations: 3.408 MB / 0.7654 GB, free: 31.17 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00463/1.334, allocations: 0.8047 MB / 0.7662 GB, free: 30.39 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08103/1.415, allocations: 51.77 MB / 0.8168 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007966/1.423, allocations: 5.93 MB / 0.8225 GB, free: 1.984 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.2394/1.663, allocations: 2.153 MB / 0.8246 GB, free: 169.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00456/1.667, allocations: 3.028 MB / 0.8276 GB, free: 169.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.503e-06/1.667, allocations: 0 / 0.8276 GB, free: 169.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1792/1.847, allocations: 115.2 MB / 0.9401 GB, free: 87.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.31/20.16, allocations: 4.062 kB / 0.9401 GB, free: 87.27 MB / 0.545 GB " [Timeout remaining time 640] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 24.694029888138175]