Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 99.02 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 47.94 kB / 280.8 MB, free: 3.059 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07183/0.07313, allocations: 46.63 MB / 327.4 MB, free: 4.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01653/0.08969, allocations: 16.53 MB / 343.9 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009334/0.09905, allocations: 4.654 MB / 348.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002651/0.1017, allocations: 111.7 kB / 348.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01563/0.1174, allocations: 7.169 MB / 355.9 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006115/0.1236, allocations: 1.869 MB / 357.7 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004182/0.1277, allocations: 1.621 MB / 359.3 MB, free: 4.262 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.1381, allocations: 9.338 MB / 368.7 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1734/0.3115, allocations: 20.92 MB / 389.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006304/0.3179, allocations: 5.221 MB / 394.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008416/0.3263, allocations: 5.905 MB / 400.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003642/0.33, allocations: 1.363 MB / 402.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005297/0.3353, allocations: 1.649 MB / 403.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003593/0.3389, allocations: 2.784 MB / 406.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007628/0.3466, allocations: 5.362 MB / 411.9 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01609/0.3627, allocations: 18.09 MB / 430 MB, free: 9.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3627, allocations: 0 / 430 MB, free: 9.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3627, allocations: 0 / 430 MB, free: 9.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004445/0.3632, allocations: 0 / 430 MB, free: 9.422 MB / 334.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.03702/0.4002, allocations: 12.18 MB / 442.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.768e-05/0.4003, allocations: 12.03 kB / 442.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00549/0.4058, allocations: 1.507 MB / 443.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0343/0.4401, allocations: 6.191 MB / 449.9 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.4516, allocations: 5.163 MB / 455 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007425/0.4524, allocations: 0.6714 MB / 455.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003298/0.4557, allocations: 0.8835 MB / 456.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.039/0.4948, allocations: 14.72 MB / 471.3 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002632/0.4951, allocations: 7.906 kB / 471.3 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001863/0.4969, allocations: 376.8 kB / 471.7 MB, free: 8 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004667/0.4974, allocations: 495.3 kB / 472.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02518/0.5226, allocations: 13.52 MB / 485.7 MB, free: 1.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06572/0.5883, allocations: 44.63 MB / 0.5179 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/0.6005, allocations: 11.65 MB / 0.5293 GB, free: 8.281 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004964/0.6055, allocations: 3.151 MB / 0.5323 GB, free: 5.125 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004437/0.606, allocations: 177.9 kB / 0.5325 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.14e-05/0.6061, allocations: 86.31 kB / 0.5326 GB, free: 4.859 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 9.798e-06/0.6061, allocations: 0 / 0.5326 GB, free: 4.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.2892/0.8953, allocations: 9.581 MB / 0.5419 GB, free: 146.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/0.8954, allocations: 124 kB / 0.5421 GB, free: 146.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005526/0.901, allocations: 3.156 MB / 0.5451 GB, free: 145.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000743/0.9017, allocations: 91.61 kB / 0.5452 GB, free: 145.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002006/0.9037, allocations: 3.699 MB / 0.5488 GB, free: 142.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001524/0.9053, allocations: 1.389 MB / 0.5502 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00197/0.9073, allocations: 1.127 MB / 0.5513 GB, free: 141.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.9073, allocations: 305.1 kB / 0.5516 GB, free: 140.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004165/0.9115, allocations: 2.841 MB / 0.5544 GB, free: 139.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00477/0.9163, allocations: 4.897 MB / 0.5592 GB, free: 136.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007742/0.924, allocations: 8.256 MB / 0.5672 GB, free: 130.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.316e-05/0.9241, allocations: 19.22 kB / 0.5672 GB, free: 130.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01213/0.9362, allocations: 9.102 MB / 0.5761 GB, free: 127.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/0.9363, allocations: 35.11 kB / 0.5762 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-05/0.9364, allocations: 66.12 kB / 0.5762 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002958/0.9394, allocations: 1.159 MB / 0.5773 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003916/0.9433, allocations: 1.295 MB / 0.5786 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.9554, allocations: 10.82 MB / 0.5892 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004219/0.9597, allocations: 0.7401 MB / 0.5899 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007924/0.9605, allocations: 275.6 kB / 0.5902 GB, free: 118.7 MB / 446.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.00519/0.9657, allocations: 3.43 MB / 0.5935 GB, free: 115.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007117/0.9664, allocations: 349.6 kB / 0.5938 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009689/0.9761, allocations: 6.902 MB / 0.6006 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00736/0.9835, allocations: 5.745 MB / 0.6062 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.452e-05/0.9836, allocations: 12 kB / 0.6062 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.895e-05/0.9836, allocations: 19.92 kB / 0.6062 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02037/1.004, allocations: 15.34 MB / 0.6212 GB, free: 87.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/1.004, allocations: 16 kB / 0.6212 GB, free: 87.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002723/1.007, allocations: 0.7931 MB / 0.622 GB, free: 86.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002775/1.01, allocations: 1.076 MB / 0.623 GB, free: 85.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003687/1.01, allocations: 112 kB / 0.6232 GB, free: 85.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/1.021, allocations: 10.57 MB / 0.6335 GB, free: 74.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.158e-06/1.021, allocations: 21.58 kB / 0.6335 GB, free: 74.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/1.034, allocations: 10.68 MB / 0.6439 GB, free: 63.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/1.036, allocations: 0.9874 MB / 0.6449 GB, free: 62.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000588/1.036, allocations: 104 kB / 0.645 GB, free: 62.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/1.038, allocations: 271.7 kB / 0.6452 GB, free: 62.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000586/1.039, allocations: 347.1 kB / 0.6456 GB, free: 62.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002268/1.039, allocations: 140 kB / 0.6457 GB, free: 62.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002369/1.041, allocations: 2.125 MB / 0.6478 GB, free: 59.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.041, allocations: 0 / 0.6478 GB, free: 59.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005022/1.047, allocations: 2.227 MB / 0.65 GB, free: 57.71 MB / 446.1 MB 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.01238/1.059, allocations: 11.42 MB / 0.6611 GB, free: 46.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01795/1.077, allocations: 11.29 MB / 0.6721 GB, free: 34.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.537e-05/1.077, allocations: 4 kB / 0.6721 GB, free: 34.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005598/1.083, allocations: 3.646 MB / 0.6757 GB, free: 31.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005274/1.088, allocations: 0.813 MB / 0.6765 GB, free: 30.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2317/1.32, allocations: 57.08 MB / 0.7322 GB, free: 124.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005529/1.325, allocations: 5.935 MB / 0.738 GB, free: 122.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005447/1.331, allocations: 2.154 MB / 0.7401 GB, free: 122.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003595/1.334, allocations: 2.999 MB / 0.7431 GB, free: 119.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/1.334, allocations: 0 / 0.7431 GB, free: 119.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1367/1.471, allocations: 114.9 MB / 0.8553 GB, free: 9.633 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/13, allocations: 16.34 kB / 0.8553 GB, free: 9.617 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches