Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 112 kB / 20.43 MB, free: 1.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 182 kB / 23.72 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 43.92 kB / 370.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2606, allocations: 52.19 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01865/0.2793, allocations: 16.71 MB / 439.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009939/0.2892, allocations: 4.657 MB / 444 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002836/0.2921, allocations: 159.2 kB / 444.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01697/0.309, allocations: 7.251 MB / 451.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007549/0.3166, allocations: 2.068 MB / 453.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004903/0.3215, allocations: 1.569 MB / 455.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01404/0.3355, allocations: 9.532 MB / 464.6 MB, free: 4.539 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0258/0.3613, allocations: 13.58 MB / 478.2 MB, free: 6.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008364/0.3697, allocations: 5.386 MB / 483.6 MB, free: 1.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009916/0.3796, allocations: 5.946 MB / 489.5 MB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003721/0.3833, allocations: 1.359 MB / 490.9 MB, free: 10.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00507/0.3884, allocations: 1.652 MB / 492.5 MB, free: 8.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004474/0.3929, allocations: 2.798 MB / 495.3 MB, free: 5.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01076/0.4036, allocations: 5.354 MB / 0.4889 GB, free: 260 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02468/0.4283, allocations: 18.4 MB / 0.5069 GB, free: 13.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4283, allocations: 3.938 kB / 0.5069 GB, free: 13.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4283, allocations: 0 / 0.5069 GB, free: 13.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004689/0.4288, allocations: 0 / 0.5069 GB, free: 13.79 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.03718/0.466, allocations: 12.24 MB / 0.5189 GB, free: 1.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.466, allocations: 8.031 kB / 0.5189 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005329/0.4713, allocations: 1.517 MB / 0.5203 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0349/0.5062, allocations: 6.28 MB / 0.5265 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01454/0.5208, allocations: 5.909 MB / 0.5322 GB, free: 3.656 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007789/0.5216, allocations: 0.6704 MB / 0.5329 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004887/0.5264, allocations: 0.8827 MB / 0.5338 GB, free: 2.102 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5498/1.076, allocations: 14.71 MB / 0.5481 GB, free: 88.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004875/1.077, allocations: 13.81 kB / 0.5481 GB, free: 88.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003998/1.081, allocations: 371 kB / 0.5485 GB, free: 88.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005933/1.081, allocations: 498.4 kB / 0.549 GB, free: 88.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03101/1.112, allocations: 13.53 MB / 0.5622 GB, free: 80.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08127/1.194, allocations: 43.44 MB / 0.6046 GB, free: 37.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/1.204, allocations: 5.984 MB / 0.6105 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004403/1.208, allocations: 2.862 MB / 0.6133 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005679/1.209, allocations: 104.3 kB / 0.6134 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.762e-05/1.209, allocations: 78.5 kB / 0.6134 GB, free: 28.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 1.08e-05/1.209, allocations: 0 / 0.6134 GB, free: 28.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.02035/1.229, allocations: 9.397 MB / 0.6226 GB, free: 18.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/1.229, allocations: 121.1 kB / 0.6227 GB, free: 18.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005711/1.235, allocations: 3.159 MB / 0.6258 GB, free: 15.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006891/1.236, allocations: 89.7 kB / 0.6259 GB, free: 15.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00218/1.238, allocations: 3.835 MB / 0.6296 GB, free: 12.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001526/1.239, allocations: 1.463 MB / 0.6311 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003006/1.242, allocations: 1.136 MB / 0.6322 GB, free: 9.578 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.566e-05/1.243, allocations: 309.1 kB / 0.6325 GB, free: 9.273 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004048/1.247, allocations: 2.838 MB / 0.6352 GB, free: 6.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00522/1.252, allocations: 4.896 MB / 0.64 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01286/1.265, allocations: 8.259 MB / 0.6481 GB, free: 7.395 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.667e-05/1.265, allocations: 20 kB / 0.6481 GB, free: 7.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01906/1.284, allocations: 9.085 MB / 0.657 GB, free: 14.27 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-05/1.284, allocations: 32 kB / 0.657 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001512/1.284, allocations: 68 kB / 0.6571 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0038/1.288, allocations: 1.147 MB / 0.6582 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005652/1.294, allocations: 1.287 MB / 0.6595 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01871/1.312, allocations: 10.61 MB / 0.6698 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005241/1.317, allocations: 0.7533 MB / 0.6705 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/1.319, allocations: 280 kB / 0.6708 GB, free: 15.87 MB / 494.1 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.008887/1.328, allocations: 3.431 MB / 0.6742 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/1.329, allocations: 365.6 kB / 0.6745 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/1.345, allocations: 6.878 MB / 0.6812 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01087/1.355, allocations: 5.704 MB / 0.6868 GB, free: 15.45 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-05/1.356, allocations: 8 kB / 0.6868 GB, free: 15.44 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.909e-05/1.356, allocations: 27.92 kB / 0.6868 GB, free: 15.41 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03553/1.391, allocations: 15.24 MB / 0.7017 GB, free: 0 / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-05/1.391, allocations: 13.05 kB / 0.7017 GB, free: 15.98 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003441/1.395, allocations: 0.7878 MB / 0.7025 GB, free: 15.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003427/1.398, allocations: 1.072 MB / 0.7036 GB, free: 14.12 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006895/1.399, allocations: 104 kB / 0.7036 GB, free: 14.02 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/1.417, allocations: 10.37 MB / 0.7138 GB, free: 3.418 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.938e-05/1.417, allocations: 24.12 kB / 0.7138 GB, free: 3.395 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02165/1.439, allocations: 10.67 MB / 0.7242 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003094/1.442, allocations: 0.961 MB / 0.7252 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/1.443, allocations: 104 kB / 0.7253 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002812/1.446, allocations: 271.7 kB / 0.7255 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009676/1.447, allocations: 366.9 kB / 0.7259 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005118/1.447, allocations: 140 kB / 0.726 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004074/1.451, allocations: 2.125 MB / 0.7281 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.451, allocations: 0 / 0.7281 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00746/1.459, allocations: 2.251 MB / 0.7303 GB, free: 2.273 MB / 0.5294 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.01921/1.478, allocations: 11.43 MB / 0.7414 GB, free: 6.613 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2759/1.754, allocations: 7.138 MB / 0.7484 GB, free: 195.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.889e-05/1.754, allocations: 2.156 kB / 0.7484 GB, free: 195.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007565/1.761, allocations: 3.406 MB / 0.7517 GB, free: 194.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004201/1.766, allocations: 0.7942 MB / 0.7525 GB, free: 194.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0787/1.844, allocations: 51.99 MB / 0.8033 GB, free: 156 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0104/1.855, allocations: 5.926 MB / 0.8091 GB, free: 150.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005791/1.86, allocations: 2.158 MB / 0.8112 GB, free: 147.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004353/1.865, allocations: 3.01 MB / 0.8141 GB, free: 144.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.413e-06/1.865, allocations: 0 / 0.8141 GB, free: 144.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1951/2.06, allocations: 120.3 MB / 0.9316 GB, free: 25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.99/22.05, allocations: 3.859 kB / 0.9316 GB, free: 25 MB / 0.545 GB " [Timeout remaining time 638] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 26.30018307082355]