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.001328/0.001328, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001843/0.001843, allocations: 208.2 kB / 24.53 MB, free: 4.07 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.386/1.386, allocations: 230.5 MB / 258.2 MB, free: 8.016 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.91 kB / 378.6 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2729, allocations: 53.41 MB / 432 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01864/0.2915, allocations: 16.7 MB / 448.7 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.3025, allocations: 4.727 MB / 453.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003506/0.306, allocations: 159.2 kB / 453.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01683/0.3228, allocations: 7.248 MB / 460.8 MB, free: 9.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00872/0.3315, allocations: 2.036 MB / 462.9 MB, free: 7.688 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004672/0.3362, allocations: 1.59 MB / 464.4 MB, free: 6.102 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01343/0.3496, allocations: 9.621 MB / 474.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0236/0.3732, allocations: 13.58 MB / 487.6 MB, free: 14.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008701/0.3819, allocations: 5.386 MB / 493 MB, free: 9.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01083/0.3927, allocations: 5.977 MB / 499 MB, free: 3.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004681/0.3974, allocations: 1.363 MB / 0.4886 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006136/0.4036, allocations: 1.668 MB / 0.4903 GB, free: 300 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005074/0.4086, allocations: 2.806 MB / 0.493 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009701/0.4183, allocations: 5.354 MB / 0.4982 GB, free: 8.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0231/0.4414, allocations: 18.4 MB / 0.5162 GB, free: 5.648 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4415, allocations: 4 kB / 0.5162 GB, free: 5.645 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4415, allocations: 0 / 0.5162 GB, free: 5.645 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005359/0.442, allocations: 0 / 0.5162 GB, free: 5.645 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.03651/0.4785, allocations: 12.26 MB / 0.5282 GB, free: 9.309 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.4786, allocations: 12.03 kB / 0.5282 GB, free: 9.297 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003142/0.4789, allocations: 278 kB / 0.5285 GB, free: 9.023 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005103/0.484, allocations: 1.509 MB / 0.5299 GB, free: 7.504 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03631/0.5203, allocations: 6.199 MB / 0.536 GB, free: 1.293 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4821/1.002, allocations: 5.921 MB / 0.5418 GB, free: 84.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006687/1.003, allocations: 0.6709 MB / 0.5424 GB, free: 84.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004488/1.008, allocations: 0.8824 MB / 0.5433 GB, free: 84.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0373/1.045, allocations: 14.76 MB / 0.5577 GB, free: 78.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003403/1.045, allocations: 8.641 kB / 0.5577 GB, free: 78.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002831/1.048, allocations: 372.7 kB / 0.5581 GB, free: 78.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000526/1.049, allocations: 0.4957 MB / 0.5585 GB, free: 78.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02711/1.076, allocations: 13.58 MB / 0.5718 GB, free: 65.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07186/1.148, allocations: 43.31 MB / 0.6141 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/1.158, allocations: 5.966 MB / 0.6199 GB, free: 16.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004579/1.162, allocations: 2.877 MB / 0.6227 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005811/1.163, allocations: 133.7 kB / 0.6229 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.592e-05/1.163, allocations: 82.5 kB / 0.6229 GB, free: 13.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=413): time 9.077e-06/1.163, allocations: 3.938 kB / 0.6229 GB, free: 13.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=492): time 0.05611/1.219, allocations: 24.37 MB / 0.6467 GB, free: 5.148 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/1.219, allocations: 129.3 kB / 0.6469 GB, free: 5.004 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007144/1.226, allocations: 3.16 MB / 0.65 GB, free: 1.824 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001124/1.228, allocations: 105.7 kB / 0.6501 GB, free: 1.715 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003723/1.231, allocations: 3.833 MB / 0.6538 GB, free: 13.87 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002978/1.234, allocations: 1.746 MB / 0.6555 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005782/1.24, allocations: 1.24 MB / 0.6567 GB, free: 10.89 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/1.24, allocations: 313.1 kB / 0.657 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007237/1.248, allocations: 3.272 MB / 0.6602 GB, free: 7.309 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009574/1.257, allocations: 5.38 MB / 0.6655 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01586/1.273, allocations: 9.282 MB / 0.6745 GB, free: 6.738 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.359e-05/1.273, allocations: 20 kB / 0.6745 GB, free: 6.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=826) (initialization): time 0.02517/1.298, allocations: 10.99 MB / 0.6853 GB, free: 11.67 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/1.298, allocations: 36 kB / 0.6853 GB, free: 11.64 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001889/1.299, allocations: 64 kB / 0.6854 GB, free: 11.57 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007188/1.306, allocations: 2.201 MB / 0.6875 GB, free: 9.359 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005964/1.312, allocations: 1.326 MB / 0.6888 GB, free: 8.031 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0357/1.347, allocations: 21.53 MB / 0.7098 GB, free: 2.043 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005244/1.353, allocations: 379.6 kB / 0.7102 GB, free: 1.672 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001414/1.354, allocations: 303.9 kB / 0.7105 GB, free: 1.375 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.007664/1.362, allocations: 3.517 MB / 0.7139 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/1.363, allocations: 393.4 kB / 0.7143 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01987/1.383, allocations: 8.876 MB / 0.723 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01769/1.401, allocations: 7.581 MB / 0.7304 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001006/1.401, allocations: 20 kB / 0.7304 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001264/1.401, allocations: 23.91 kB / 0.7304 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2717/1.673, allocations: 18.52 MB / 0.7485 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.897e-05/1.673, allocations: 14.41 kB / 0.7485 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003612/1.676, allocations: 0.8432 MB / 0.7493 GB, free: 175.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00535/1.682, allocations: 1.993 MB / 0.7513 GB, free: 175.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009516/1.683, allocations: 128.1 kB / 0.7514 GB, free: 175.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.021/1.704, allocations: 19.5 MB / 0.7705 GB, free: 164.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.986e-05/1.704, allocations: 24.53 kB / 0.7705 GB, free: 164.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01734/1.721, allocations: 13.36 MB / 0.7835 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00242/1.723, allocations: 1.025 MB / 0.7845 GB, free: 158.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007705/1.724, allocations: 108.9 kB / 0.7846 GB, free: 158.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002416/1.727, allocations: 294.4 kB / 0.7849 GB, free: 158.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000777/1.727, allocations: 441.6 kB / 0.7853 GB, free: 158.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002756/1.728, allocations: 167.6 kB / 0.7855 GB, free: 158.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002225/1.73, allocations: 2.127 MB / 0.7876 GB, free: 157.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/1.73, allocations: 0 / 0.7876 GB, free: 157.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00535/1.735, allocations: 1.771 MB / 0.7893 GB, free: 155.9 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.01632/1.752, allocations: 14.12 MB / 0.8031 GB, free: 142.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01248/1.764, allocations: 8.988 MB / 0.8119 GB, free: 133.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/1.764, allocations: 4.188 kB / 0.8119 GB, free: 133.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0077/1.772, allocations: 4.654 MB / 0.8164 GB, free: 128.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005296/1.777, allocations: 0.8333 MB / 0.8172 GB, free: 127.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08833/1.865, allocations: 58 MB / 0.8739 GB, free: 66.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009436/1.875, allocations: 6.123 MB / 0.8798 GB, free: 60.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005909/1.881, allocations: 2.215 MB / 0.882 GB, free: 58.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005222/1.886, allocations: 3.124 MB / 0.8851 GB, free: 55.19 MB / 0.545 GB Notification: Performance of SimCode: time 1.673e-06/1.886, allocations: 0 / 0.8851 GB, free: 55.19 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5568/2.443, allocations: 136.6 MB / 1.018 GB, free: 146 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.61/24.05, allocations: 4.719 kB / 1.018 GB, free: 146 MB / 0.5607 GB " [Timeout remaining time 636] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 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.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_trunk_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: 30.019815118983388]