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.00162/0.00162, allocations: 124.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.002023/0.002023, allocations: 206.6 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.522/1.522, allocations: 230.4 MB / 254 MB, free: 15.05 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.001902/0.001902, allocations: 59.89 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1054, allocations: 53.37 MB / 426.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2113/0.3168, allocations: 16.68 MB / 443 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.3277, allocations: 4.717 MB / 447.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003883/0.3316, allocations: 157.5 kB / 447.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01745/0.3491, allocations: 7.226 MB / 455.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00808/0.3572, allocations: 1.959 MB / 457.1 MB, free: 8.977 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004542/0.3617, allocations: 1.552 MB / 458.7 MB, free: 8.055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01453/0.3762, allocations: 9.497 MB / 468.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02839/0.4046, allocations: 16.24 MB / 484.4 MB, free: 6.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01134/0.416, allocations: 5.331 MB / 489.7 MB, free: 1.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01116/0.4271, allocations: 5.965 MB / 495.7 MB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004555/0.4317, allocations: 1.359 MB / 497 MB, free: 9.984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006398/0.4381, allocations: 1.66 MB / 498.7 MB, free: 8.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004914/0.443, allocations: 2.802 MB / 0.4898 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0102/0.4532, allocations: 5.362 MB / 0.495 GB, free: 136 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02711/0.4803, allocations: 18.4 MB / 0.513 GB, free: 13.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4803, allocations: 0 / 0.513 GB, free: 13.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.769e-06/0.4803, allocations: 4 kB / 0.513 GB, free: 13.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005162/0.4808, allocations: 0 / 0.513 GB, free: 13.66 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.04262/0.5234, allocations: 12.33 MB / 0.525 GB, free: 1.238 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.5235, allocations: 8.031 kB / 0.525 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006625/0.5301, allocations: 1.509 MB / 0.5265 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05946/0.5896, allocations: 6.199 MB / 0.5325 GB, free: 9.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01966/0.6092, allocations: 5.86 MB / 0.5383 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001262/0.6105, allocations: 0.6713 MB / 0.5389 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005156/0.6157, allocations: 0.8788 MB / 0.5398 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05012/0.6658, allocations: 14.75 MB / 0.5542 GB, free: 3.223 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004509/0.6662, allocations: 7.953 kB / 0.5542 GB, free: 3.215 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003321/0.6695, allocations: 372 kB / 0.5545 GB, free: 2.852 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006553/0.6702, allocations: 499.3 kB / 0.555 GB, free: 2.359 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03327/0.7035, allocations: 13.57 MB / 0.5683 GB, free: 4.758 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08463/0.7881, allocations: 44.74 MB / 0.612 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4203/1.208, allocations: 11.25 MB / 0.6229 GB, free: 145.7 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004712/1.213, allocations: 2.869 MB / 0.6258 GB, free: 145.6 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004497/1.214, allocations: 290.8 kB / 0.626 GB, free: 145.4 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.626e-05/1.214, allocations: 84.06 kB / 0.6261 GB, free: 145.4 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=409): time 6.021e-06/1.214, allocations: 0 / 0.6261 GB, free: 145.4 MB / 0.5138 GB Notification: Performance of matching and sorting (n=409): time 0.02248/1.236, allocations: 9.571 MB / 0.6355 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/1.236, allocations: 128 kB / 0.6356 GB, free: 142.4 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00521/1.241, allocations: 3.155 MB / 0.6387 GB, free: 141.4 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005192/1.242, allocations: 92.33 kB / 0.6387 GB, free: 141.3 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001934/1.244, allocations: 3.833 MB / 0.6425 GB, free: 139.2 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001313/1.245, allocations: 1.464 MB / 0.6439 GB, free: 138.3 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001804/1.247, allocations: 1.15 MB / 0.645 GB, free: 137.7 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.323e-05/1.247, allocations: 302.2 kB / 0.6453 GB, free: 137.4 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004143/1.251, allocations: 2.846 MB / 0.6481 GB, free: 136.4 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004769/1.256, allocations: 4.909 MB / 0.6529 GB, free: 132.8 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008571/1.265, allocations: 8.271 MB / 0.661 GB, free: 127.5 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.649e-05/1.265, allocations: 24.53 kB / 0.661 GB, free: 127.5 MB / 0.5138 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01276/1.277, allocations: 9.116 MB / 0.6699 GB, free: 124 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/1.277, allocations: 31.56 kB / 0.6699 GB, free: 124 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.93e-05/1.278, allocations: 69.12 kB / 0.67 GB, free: 124 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00294/1.28, allocations: 1.145 MB / 0.6711 GB, free: 123.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003994/1.284, allocations: 1.296 MB / 0.6724 GB, free: 123.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/1.297, allocations: 10.82 MB / 0.683 GB, free: 115.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004419/1.302, allocations: 0.7452 MB / 0.6837 GB, free: 114.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007082/1.302, allocations: 284 kB / 0.684 GB, free: 114.3 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.00486/1.307, allocations: 3.424 MB / 0.6873 GB, free: 110.8 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007594/1.308, allocations: 369.6 kB / 0.6877 GB, free: 110.5 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00981/1.318, allocations: 6.878 MB / 0.6944 GB, free: 103.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007259/1.325, allocations: 5.717 MB / 0.7 GB, free: 97.85 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.388e-05/1.325, allocations: 13.12 kB / 0.7 GB, free: 97.84 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.28e-05/1.325, allocations: 23.91 kB / 0.7 GB, free: 97.82 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02067/1.346, allocations: 15.23 MB / 0.7149 GB, free: 82.43 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/1.346, allocations: 12 kB / 0.7149 GB, free: 82.42 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00272/1.348, allocations: 0.7985 MB / 0.7157 GB, free: 81.62 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002896/1.351, allocations: 1.067 MB / 0.7167 GB, free: 80.55 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003167/1.352, allocations: 112 kB / 0.7168 GB, free: 80.44 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/1.364, allocations: 10.58 MB / 0.7271 GB, free: 69.59 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/1.364, allocations: 23.94 kB / 0.7272 GB, free: 69.57 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/1.377, allocations: 10.7 MB / 0.7376 GB, free: 58.63 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/1.379, allocations: 1.017 MB / 0.7386 GB, free: 57.59 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005546/1.38, allocations: 100 kB / 0.7387 GB, free: 57.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/1.382, allocations: 267.6 kB / 0.739 GB, free: 57.23 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006392/1.382, allocations: 347.2 kB / 0.7393 GB, free: 56.89 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002444/1.383, allocations: 148 kB / 0.7394 GB, free: 56.75 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00267/1.385, allocations: 2.125 MB / 0.7415 GB, free: 54.62 MB / 0.5138 GB Notification: Performance of sort global known variables: time 9e-08/1.385, allocations: 3.828 kB / 0.7415 GB, free: 54.62 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006114/1.391, allocations: 2.254 MB / 0.7437 GB, free: 52.36 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.01309/1.405, allocations: 11.43 MB / 0.7549 GB, free: 40.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01031/1.415, allocations: 7.173 MB / 0.7619 GB, free: 33.52 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/1.415, allocations: 4 kB / 0.7619 GB, free: 33.52 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005021/1.42, allocations: 3.412 MB / 0.7652 GB, free: 30.08 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004264/1.424, allocations: 0.8022 MB / 0.766 GB, free: 29.31 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1003/1.524, allocations: 51.78 MB / 0.8166 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01137/1.536, allocations: 5.926 MB / 0.8223 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.2541/1.79, allocations: 2.151 MB / 0.8244 GB, free: 170 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005202/1.795, allocations: 3.032 MB / 0.8274 GB, free: 170 MB / 0.545 GB Notification: Performance of SimCode: time 1.283e-06/1.795, allocations: 1.125 kB / 0.8274 GB, free: 170 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1795/1.975, allocations: 115.3 MB / 0.94 GB, free: 86.17 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.15/20.13, allocations: 3.75 kB / 0.94 GB, free: 86.16 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 & 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/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: 22.928545683040284]