Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 113 kB / 18.49 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 213.4 kB / 21.45 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.383/1.383, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 47.92 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1028, allocations: 53.33 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01848/0.1213, allocations: 16.68 MB / 443.7 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2282/0.3495, allocations: 4.708 MB / 448.4 MB, free: 7.574 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00313/0.3527, allocations: 161.4 kB / 448.6 MB, free: 7.574 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01465/0.3673, allocations: 7.224 MB / 455.8 MB, free: 7.391 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.3778, allocations: 1.974 MB / 457.8 MB, free: 7.312 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00523/0.383, allocations: 1.54 MB / 459.3 MB, free: 7.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01866/0.4017, allocations: 9.509 MB / 468.8 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02662/0.4283, allocations: 16.39 MB / 485.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009441/0.4377, allocations: 5.339 MB / 490.6 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01205/0.4498, allocations: 5.966 MB / 496.5 MB, free: 4.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004153/0.4539, allocations: 1.359 MB / 497.9 MB, free: 2.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006451/0.4604, allocations: 1.67 MB / 499.5 MB, free: 1.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00433/0.4647, allocations: 2.8 MB / 0.4906 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00999/0.4747, allocations: 5.364 MB / 0.4958 GB, free: 8.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0237/0.4984, allocations: 18.4 MB / 0.5138 GB, free: 6.867 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.4984, allocations: 0 / 0.5138 GB, free: 6.867 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4984, allocations: 4 kB / 0.5138 GB, free: 6.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006062/0.499, allocations: 0 / 0.5138 GB, free: 6.863 MB / 414.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.03663/0.5357, allocations: 12.32 MB / 0.5258 GB, free: 10.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.5357, allocations: 12.02 kB / 0.5258 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003207/0.536, allocations: 282 kB / 0.5261 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004335/0.5404, allocations: 1.514 MB / 0.5276 GB, free: 8.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03505/0.5754, allocations: 6.194 MB / 0.5336 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01552/0.5909, allocations: 5.863 MB / 0.5394 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007429/0.5917, allocations: 0.6685 MB / 0.54 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004447/0.5961, allocations: 0.886 MB / 0.5409 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03613/0.6322, allocations: 14.76 MB / 0.5553 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002156/0.6325, allocations: 7.953 kB / 0.5553 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001589/0.6341, allocations: 368.2 kB / 0.5556 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005223/0.6346, allocations: 0.4915 MB / 0.5561 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02674/0.6613, allocations: 13.57 MB / 0.5694 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07482/0.7361, allocations: 44.74 MB / 0.6131 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/0.7488, allocations: 11.23 MB / 0.624 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004524/0.7533, allocations: 2.88 MB / 0.6269 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004398/0.7537, allocations: 293.9 kB / 0.6271 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.896e-05/0.7538, allocations: 86.5 kB / 0.6272 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=413): time 5.45e-06/0.7538, allocations: 0 / 0.6272 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of matching and sorting (n=492): time 0.5174/1.271, allocations: 24.66 MB / 0.6513 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.267e-05/1.271, allocations: 137.5 kB / 0.6514 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005254/1.277, allocations: 3.16 MB / 0.6545 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000702/1.277, allocations: 102.7 kB / 0.6546 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002472/1.28, allocations: 3.831 MB / 0.6583 GB, free: 156 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001631/1.281, allocations: 1.744 MB / 0.6601 GB, free: 154.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002028/1.283, allocations: 1.244 MB / 0.6613 GB, free: 154 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.369e-05/1.283, allocations: 301.7 kB / 0.6616 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004743/1.288, allocations: 3.279 MB / 0.6648 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005868/1.294, allocations: 5.382 MB / 0.67 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/1.305, allocations: 9.281 MB / 0.6791 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.639e-05/1.305, allocations: 18.97 kB / 0.6791 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.01772/1.322, allocations: 10.99 MB / 0.6898 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.55e-05/1.322, allocations: 31.56 kB / 0.6899 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001275/1.323, allocations: 70.98 kB / 0.6899 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005667/1.328, allocations: 2.198 MB / 0.6921 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004591/1.333, allocations: 1.32 MB / 0.6934 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02371/1.356, allocations: 21.92 MB / 0.7148 GB, free: 123.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00514/1.362, allocations: 381.6 kB / 0.7151 GB, free: 123.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001286/1.363, allocations: 299.2 kB / 0.7154 GB, free: 123.6 MB / 0.5294 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,24,86.1%), (6,24,100.0%), (5,33,80.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006593/1.369, allocations: 3.515 MB / 0.7189 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009371/1.37, allocations: 396.2 kB / 0.7192 GB, free: 120 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/1.384, allocations: 8.873 MB / 0.7279 GB, free: 111 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01016/1.394, allocations: 7.581 MB / 0.7353 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-05/1.394, allocations: 24 kB / 0.7353 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.707e-05/1.394, allocations: 23.91 kB / 0.7353 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0263/1.42, allocations: 18.47 MB / 0.7534 GB, free: 84.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-05/1.42, allocations: 17 kB / 0.7534 GB, free: 84.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002832/1.423, allocations: 0.8386 MB / 0.7542 GB, free: 83.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005273/1.428, allocations: 2.003 MB / 0.7562 GB, free: 81.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005697/1.429, allocations: 132.9 kB / 0.7563 GB, free: 81.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02086/1.45, allocations: 19.9 MB / 0.7757 GB, free: 61.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/1.45, allocations: 23.88 kB / 0.7757 GB, free: 61.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01797/1.468, allocations: 13.37 MB / 0.7888 GB, free: 47.35 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002462/1.47, allocations: 1.075 MB / 0.7899 GB, free: 46.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007192/1.471, allocations: 108 kB / 0.79 GB, free: 46.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002483/1.473, allocations: 291.7 kB / 0.7902 GB, free: 45.87 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008889/1.474, allocations: 419.3 kB / 0.7906 GB, free: 45.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000279/1.475, allocations: 171.2 kB / 0.7908 GB, free: 45.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002443/1.477, allocations: 2.125 MB / 0.7929 GB, free: 43.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.477, allocations: 0 / 0.7929 GB, free: 43.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006509/1.484, allocations: 1.773 MB / 0.7946 GB, free: 41.39 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (444): * Single equations (assignments): 438 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,24,91.7%), (6,18,94.4%), (5,33,80.0%), (5,27,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01755/1.501, allocations: 14.11 MB / 0.8084 GB, free: 26.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01345/1.515, allocations: 8.98 MB / 0.8172 GB, free: 17.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.122e-05/1.515, allocations: 4.438 kB / 0.8172 GB, free: 17.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00796/1.523, allocations: 4.654 MB / 0.8217 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006188/1.529, allocations: 0.8357 MB / 0.8225 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3429/1.872, allocations: 57.85 MB / 0.879 GB, free: 155.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006618/1.878, allocations: 6.12 MB / 0.885 GB, free: 153.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004893/1.883, allocations: 2.215 MB / 0.8872 GB, free: 153.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003376/1.887, allocations: 3.124 MB / 0.8902 GB, free: 150.9 MB / 0.545 GB Notification: Performance of SimCode: time 2.535e-06/1.887, allocations: 0 / 0.8902 GB, free: 150.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4839/2.37, allocations: 130.6 MB / 1.018 GB, free: 32.17 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.34/23.71, allocations: 7.922 kB / 1.018 GB, free: 32.16 MB / 0.545 GB " [Timeout remaining time 636] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 33.23581808403833]