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.001376/0.001376, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001575/0.001575, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.334/1.334, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.001717/0.001717, allocations: 43.92 kB / 378.5 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3833, allocations: 53.38 MB / 431.9 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01894/0.4022, allocations: 14.3 MB / 446.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009859/0.4121, allocations: 4.529 MB / 450.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002343/0.4144, allocations: 163.2 kB / 450.9 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0159/0.4303, allocations: 6.697 MB / 457.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006862/0.4372, allocations: 2.005 MB / 459.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004113/0.4413, allocations: 1.525 MB / 461.1 MB, free: 9.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01186/0.4532, allocations: 9.61 MB / 470.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02251/0.4757, allocations: 13.59 MB / 484.3 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007461/0.4831, allocations: 5.393 MB / 489.7 MB, free: 12.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008843/0.492, allocations: 5.977 MB / 495.7 MB, free: 6.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002905/0.4949, allocations: 1.359 MB / 497 MB, free: 5.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004182/0.4991, allocations: 1.668 MB / 498.7 MB, free: 3.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003121/0.5022, allocations: 2.802 MB / 0.4897 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006666/0.5088, allocations: 4.191 MB / 0.4938 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01944/0.5283, allocations: 18.49 MB / 0.5119 GB, free: 9.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.5283, allocations: 3.938 kB / 0.5119 GB, free: 9.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5283, allocations: 4 kB / 0.5119 GB, free: 9.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003908/0.5287, allocations: 0 / 0.5119 GB, free: 9.91 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.03173/0.5604, allocations: 12.26 MB / 0.5239 GB, free: 13.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.5605, allocations: 8.031 kB / 0.5239 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003554/0.5608, allocations: 282 kB / 0.5241 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003929/0.5648, allocations: 1.509 MB / 0.5256 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03408/0.5988, allocations: 6.202 MB / 0.5317 GB, free: 5.551 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4763/1.075, allocations: 5.921 MB / 0.5375 GB, free: 86.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009575/1.076, allocations: 0.6686 MB / 0.5381 GB, free: 86.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004471/1.081, allocations: 0.8818 MB / 0.539 GB, free: 86.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03125/1.112, allocations: 14.98 MB / 0.5536 GB, free: 81.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001825/1.112, allocations: 11.88 kB / 0.5536 GB, free: 81.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009808/1.113, allocations: 377.3 kB / 0.554 GB, free: 81.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003626/1.113, allocations: 496.6 kB / 0.5544 GB, free: 81.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0211/1.134, allocations: 13.58 MB / 0.5677 GB, free: 68.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0605/1.195, allocations: 39.89 MB / 0.6067 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008672/1.204, allocations: 5.929 MB / 0.6124 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003866/1.207, allocations: 2.877 MB / 0.6153 GB, free: 20.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003761/1.208, allocations: 115.9 kB / 0.6154 GB, free: 20.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.768e-05/1.208, allocations: 78.56 kB / 0.6154 GB, free: 20.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=413): time 1.127e-05/1.208, allocations: 3.812 kB / 0.6154 GB, free: 20.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=492): time 0.04517/1.253, allocations: 24.37 MB / 0.6392 GB, free: 12.11 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/1.253, allocations: 129.3 kB / 0.6394 GB, free: 11.97 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005088/1.258, allocations: 3.159 MB / 0.6425 GB, free: 8.836 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000945/1.259, allocations: 105.7 kB / 0.6426 GB, free: 8.727 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003008/1.262, allocations: 3.835 MB / 0.6463 GB, free: 4.949 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002194/1.264, allocations: 1.749 MB / 0.648 GB, free: 3.223 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001978/1.266, allocations: 1.236 MB / 0.6492 GB, free: 1.977 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/1.267, allocations: 309 kB / 0.6495 GB, free: 1.672 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004976/1.272, allocations: 3.276 MB / 0.6527 GB, free: 14.39 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007096/1.279, allocations: 5.376 MB / 0.658 GB, free: 8.074 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/1.292, allocations: 9.282 MB / 0.667 GB, free: 13.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001266/1.293, allocations: 20 kB / 0.667 GB, free: 13.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=826) (initialization): time 0.02251/1.315, allocations: 11 MB / 0.6778 GB, free: 2.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.687e-05/1.315, allocations: 32 kB / 0.6778 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001504/1.315, allocations: 71.94 kB / 0.6779 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006285/1.322, allocations: 2.194 MB / 0.68 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005152/1.327, allocations: 1.326 MB / 0.6813 GB, free: 15.11 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03182/1.359, allocations: 21.19 MB / 0.702 GB, free: 9.492 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005041/1.364, allocations: 387.5 kB / 0.7024 GB, free: 9.113 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006614/1.364, allocations: 300 kB / 0.7027 GB, free: 8.82 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.00677/1.371, allocations: 3.509 MB / 0.7061 GB, free: 5.297 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009715/1.372, allocations: 389.5 kB / 0.7065 GB, free: 4.914 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/1.388, allocations: 8.869 MB / 0.7151 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01315/1.401, allocations: 7.584 MB / 0.7225 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.916e-05/1.401, allocations: 28 kB / 0.7226 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.956e-05/1.401, allocations: 23.91 kB / 0.7226 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03452/1.436, allocations: 17.85 MB / 0.74 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.14e-05/1.436, allocations: 12 kB / 0.74 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003542/1.439, allocations: 0.8386 MB / 0.7408 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2874/1.727, allocations: 1.999 MB / 0.7428 GB, free: 179.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00125/1.728, allocations: 126.7 kB / 0.7429 GB, free: 179.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02231/1.75, allocations: 19.2 MB / 0.7617 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/1.75, allocations: 25 kB / 0.7617 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01866/1.769, allocations: 13.36 MB / 0.7747 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003348/1.772, allocations: 1.025 MB / 0.7757 GB, free: 164.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001274/1.774, allocations: 110.5 kB / 0.7758 GB, free: 164.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003217/1.777, allocations: 293.1 kB / 0.7761 GB, free: 164.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001126/1.778, allocations: 440.6 kB / 0.7765 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003763/1.778, allocations: 168.4 kB / 0.7767 GB, free: 164 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002772/1.781, allocations: 2.123 MB / 0.7788 GB, free: 163.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.781, allocations: 0 / 0.7788 GB, free: 163.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007929/1.789, allocations: 1.774 MB / 0.7805 GB, free: 162.5 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.0215/1.811, allocations: 14.12 MB / 0.7943 GB, free: 150.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01397/1.825, allocations: 8.981 MB / 0.8031 GB, free: 141.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.97e-05/1.825, allocations: 4 kB / 0.8031 GB, free: 141.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008353/1.833, allocations: 4.659 MB / 0.8076 GB, free: 137.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005265/1.838, allocations: 0.8305 MB / 0.8084 GB, free: 136.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08528/1.923, allocations: 58 MB / 0.8651 GB, free: 75.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006712/1.93, allocations: 5.661 MB / 0.8706 GB, free: 69.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004545/1.935, allocations: 2.211 MB / 0.8728 GB, free: 67.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004338/1.939, allocations: 3.124 MB / 0.8758 GB, free: 64.39 MB / 0.545 GB Notification: Performance of SimCode: time 2.054e-06/1.939, allocations: 0 / 0.8758 GB, free: 64.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4036/2.343, allocations: 136.2 MB / 1.009 GB, free: 158 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.27/22.61, allocations: 7.812 kB / 1.009 GB, free: 158 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.494100747047924]