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.001503/0.001503, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001617/0.001617, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.001545/0.001545, allocations: 43.92 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2222, allocations: 53.36 MB / 431.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01814/0.2403, allocations: 16.71 MB / 448.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008796/0.2491, allocations: 4.731 MB / 453.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.2512, allocations: 159.2 kB / 453.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01574/0.267, allocations: 7.253 MB / 460.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006398/0.2734, allocations: 2.034 MB / 462.8 MB, free: 7.867 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004073/0.2774, allocations: 1.584 MB / 464.4 MB, free: 6.289 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01295/0.2904, allocations: 9.629 MB / 474 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02411/0.3145, allocations: 13.58 MB / 487.6 MB, free: 14.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007471/0.322, allocations: 5.389 MB / 493 MB, free: 9.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009179/0.3312, allocations: 5.985 MB / 499 MB, free: 3.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003132/0.3343, allocations: 1.363 MB / 0.4886 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004412/0.3387, allocations: 1.668 MB / 0.4903 GB, free: 468 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00353/0.3422, allocations: 2.794 MB / 0.493 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007306/0.3495, allocations: 5.358 MB / 0.4982 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01922/0.3688, allocations: 18.4 MB / 0.5162 GB, free: 5.816 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3688, allocations: 3.984 kB / 0.5162 GB, free: 5.812 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3688, allocations: 0 / 0.5162 GB, free: 5.812 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003373/0.3691, allocations: 0 / 0.5162 GB, free: 5.812 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.03166/0.4008, allocations: 12.26 MB / 0.5282 GB, free: 9.473 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.4008, allocations: 8.031 kB / 0.5282 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002431/0.401, allocations: 278 kB / 0.5284 GB, free: 9.191 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002515/0.4036, allocations: 1.517 MB / 0.5299 GB, free: 7.664 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03302/0.4366, allocations: 6.195 MB / 0.536 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3436/0.7802, allocations: 5.923 MB / 0.5418 GB, free: 85.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/0.7805, allocations: 0.6699 MB / 0.5424 GB, free: 84.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002098/0.7826, allocations: 0.8871 MB / 0.5433 GB, free: 84.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02222/0.8048, allocations: 14.75 MB / 0.5577 GB, free: 78.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001777/0.805, allocations: 6.688 kB / 0.5577 GB, free: 78.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008428/0.8058, allocations: 373 kB / 0.558 GB, free: 78.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003048/0.8061, allocations: 0.4886 MB / 0.5585 GB, free: 78.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01785/0.824, allocations: 13.58 MB / 0.5718 GB, free: 66.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0507/0.8747, allocations: 43.32 MB / 0.6141 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007647/0.8823, allocations: 5.96 MB / 0.6199 GB, free: 16.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003152/0.8855, allocations: 2.877 MB / 0.6227 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.8858, allocations: 133.5 kB / 0.6228 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/0.8858, allocations: 86.5 kB / 0.6229 GB, free: 13.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=413): time 5.841e-06/0.8858, allocations: 0 / 0.6229 GB, free: 13.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=492): time 0.04337/0.9292, allocations: 24.36 MB / 0.6467 GB, free: 5.488 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.814e-05/0.9293, allocations: 133.3 kB / 0.6468 GB, free: 5.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004406/0.9337, allocations: 3.164 MB / 0.6499 GB, free: 2.156 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00036/0.9341, allocations: 105.7 kB / 0.65 GB, free: 2.047 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002722/0.9368, allocations: 3.833 MB / 0.6538 GB, free: 14.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001606/0.9384, allocations: 1.748 MB / 0.6555 GB, free: 12.47 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001912/0.9403, allocations: 1.24 MB / 0.6567 GB, free: 11.22 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.9404, allocations: 305.1 kB / 0.657 GB, free: 10.92 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004858/0.9453, allocations: 3.272 MB / 0.6602 GB, free: 7.645 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0067/0.952, allocations: 5.38 MB / 0.6654 GB, free: 1.324 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/0.9644, allocations: 9.289 MB / 0.6745 GB, free: 7.074 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.589e-05/0.9645, allocations: 20 kB / 0.6745 GB, free: 7.055 MB / 494.1 MB Notification: Performance of matching and sorting (n=826) (initialization): time 0.02003/0.9845, allocations: 10.99 MB / 0.6852 GB, free: 12.01 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 5.844e-05/0.9845, allocations: 36 kB / 0.6853 GB, free: 11.97 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/0.9846, allocations: 64 kB / 0.6853 GB, free: 11.91 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006247/0.9909, allocations: 2.209 MB / 0.6875 GB, free: 9.688 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004739/0.9956, allocations: 1.326 MB / 0.6888 GB, free: 8.359 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03063/1.026, allocations: 21.52 MB / 0.7098 GB, free: 2.387 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0043/1.031, allocations: 375.6 kB / 0.7102 GB, free: 2.02 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007976/1.031, allocations: 303.9 kB / 0.7105 GB, free: 1.723 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 (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.005813/1.037, allocations: 3.521 MB / 0.7139 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008728/1.038, allocations: 397.4 kB / 0.7143 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/1.054, allocations: 8.868 MB / 0.7229 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01329/1.068, allocations: 7.583 MB / 0.7303 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.66e-05/1.068, allocations: 20 kB / 0.7304 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.65e-05/1.068, allocations: 23.91 kB / 0.7304 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2251/1.293, allocations: 18.53 MB / 0.7485 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.932e-05/1.293, allocations: 13.91 kB / 0.7485 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002956/1.296, allocations: 0.8401 MB / 0.7493 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005033/1.301, allocations: 1.998 MB / 0.7513 GB, free: 175.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005376/1.301, allocations: 130.2 kB / 0.7514 GB, free: 175.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01987/1.321, allocations: 19.51 MB / 0.7704 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/1.321, allocations: 23.38 kB / 0.7705 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/1.337, allocations: 13.36 MB / 0.7835 GB, free: 159.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001968/1.339, allocations: 1.022 MB / 0.7845 GB, free: 158.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005273/1.34, allocations: 108.2 kB / 0.7846 GB, free: 158.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/1.342, allocations: 295.2 kB / 0.7849 GB, free: 158.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007325/1.343, allocations: 446.3 kB / 0.7853 GB, free: 158.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002663/1.343, allocations: 166.9 kB / 0.7855 GB, free: 158.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002135/1.345, allocations: 2.122 MB / 0.7875 GB, free: 157.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.345, allocations: 0 / 0.7875 GB, free: 157.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004422/1.35, allocations: 1.776 MB / 0.7893 GB, free: 156.4 MB / 0.545 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.01504/1.365, allocations: 14.12 MB / 0.8031 GB, free: 142.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01125/1.376, allocations: 8.983 MB / 0.8118 GB, free: 133.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.376, allocations: 4 kB / 0.8118 GB, free: 133.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006332/1.382, allocations: 4.664 MB / 0.8164 GB, free: 128.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003556/1.386, allocations: 0.8278 MB / 0.8172 GB, free: 128.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06833/1.454, allocations: 58.01 MB / 0.8739 GB, free: 67.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005871/1.46, allocations: 6.123 MB / 0.8798 GB, free: 61.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004509/1.465, allocations: 2.204 MB / 0.882 GB, free: 58.83 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003402/1.468, allocations: 3.127 MB / 0.885 GB, free: 55.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/1.468, allocations: 0 / 0.885 GB, free: 55.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6784/2.146, allocations: 136.6 MB / 1.018 GB, free: 146.9 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.34/22.48, allocations: 6.406 kB / 1.018 GB, free: 146.9 MB / 0.5607 GB " [Timeout remaining time 637] (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: 28.358325503999367]