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.001196/0.001196, allocations: 112.2 kB / 17.28 MB, free: 6.219 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.001543/0.001544, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.433/1.433, allocations: 205.1 MB / 224 MB, free: 12.45 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.001114/0.001114, allocations: 47.92 kB / 280.3 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09866/0.09979, allocations: 46.63 MB / 326.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01648/0.1163, allocations: 16.25 MB / 343.1 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.1271, allocations: 4.604 MB / 347.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004284/0.1314, allocations: 111.6 kB / 347.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01601/0.1475, allocations: 6.799 MB / 354.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007122/0.1547, allocations: 1.684 MB / 356.3 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005013/0.1597, allocations: 1.508 MB / 357.8 MB, free: 5.605 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01256/0.1723, allocations: 9.377 MB / 367.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2356/0.4079, allocations: 24.28 MB / 391.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00772/0.4157, allocations: 5.294 MB / 396.8 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009074/0.4248, allocations: 5.954 MB / 402.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00255/0.4274, allocations: 1.357 MB / 404.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003064/0.4304, allocations: 1.654 MB / 405.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001909/0.4324, allocations: 2.8 MB / 408.6 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004658/0.437, allocations: 5.361 MB / 413.9 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01648/0.4535, allocations: 18.1 MB / 432 MB, free: 8.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.4536, allocations: 0 / 432 MB, free: 8.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.871e-06/0.4536, allocations: 3.984 kB / 432 MB, free: 8.863 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005439/0.4542, allocations: 3.375 kB / 432 MB, free: 8.863 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.04106/0.4952, allocations: 12.21 MB / 444.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.249e-05/0.4953, allocations: 12.03 kB / 444.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006116/0.5014, allocations: 1.512 MB / 445.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03408/0.5355, allocations: 6.191 MB / 452 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01243/0.548, allocations: 5.163 MB / 457.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006985/0.5487, allocations: 0.6744 MB / 457.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004458/0.5532, allocations: 0.8737 MB / 458.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03958/0.5928, allocations: 14.75 MB / 473.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002838/0.5931, allocations: 7.906 kB / 473.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002136/0.5953, allocations: 379.9 kB / 473.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000519/0.5958, allocations: 499.2 kB / 474.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02717/0.623, allocations: 13.56 MB / 487.8 MB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1055/0.7285, allocations: 44.64 MB / 0.52 GB, free: 4.359 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/0.7434, allocations: 11.72 MB / 0.5315 GB, free: 7.535 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004944/0.7484, allocations: 3.233 MB / 0.5346 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003951/0.7488, allocations: 177.4 kB / 0.5348 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.413e-05/0.7489, allocations: 82.55 kB / 0.5349 GB, free: 4.035 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 6.181e-06/0.7489, allocations: 0 / 0.5349 GB, free: 4.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.4023/1.151, allocations: 9.71 MB / 0.5443 GB, free: 147.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.784e-05/1.151, allocations: 120.8 kB / 0.5445 GB, free: 147.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006242/1.158, allocations: 3.157 MB / 0.5475 GB, free: 146.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008496/1.158, allocations: 92.39 kB / 0.5476 GB, free: 146 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002337/1.161, allocations: 3.684 MB / 0.5512 GB, free: 143.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001449/1.162, allocations: 1.427 MB / 0.5526 GB, free: 142.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001712/1.164, allocations: 1.139 MB / 0.5537 GB, free: 141.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.622e-05/1.164, allocations: 305.1 kB / 0.554 GB, free: 141.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004082/1.168, allocations: 2.912 MB / 0.5569 GB, free: 140.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004542/1.173, allocations: 4.979 MB / 0.5617 GB, free: 136.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007998/1.181, allocations: 8.404 MB / 0.5699 GB, free: 131.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.363e-05/1.181, allocations: 19.25 kB / 0.57 GB, free: 131.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01247/1.193, allocations: 9.241 MB / 0.579 GB, free: 127.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.617e-05/1.193, allocations: 35.91 kB / 0.579 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.835e-05/1.193, allocations: 66.5 kB / 0.5791 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/1.196, allocations: 1.132 MB / 0.5802 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004179/1.2, allocations: 1.291 MB / 0.5814 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/1.212, allocations: 10.73 MB / 0.5919 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00451/1.217, allocations: 0.7455 MB / 0.5926 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005954/1.217, allocations: 275.8 kB / 0.5929 GB, free: 117.8 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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.004834/1.222, allocations: 3.428 MB / 0.5963 GB, free: 114.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007651/1.223, allocations: 351.5 kB / 0.5966 GB, free: 114.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009519/1.233, allocations: 7.038 MB / 0.6035 GB, free: 107.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007061/1.24, allocations: 5.874 MB / 0.6092 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.151e-05/1.24, allocations: 12 kB / 0.6092 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.318e-05/1.24, allocations: 19.92 kB / 0.6092 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02072/1.26, allocations: 15.56 MB / 0.6244 GB, free: 85.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.65e-05/1.26, allocations: 12 kB / 0.6244 GB, free: 85.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002689/1.263, allocations: 0.7888 MB / 0.6252 GB, free: 85.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002571/1.266, allocations: 1.056 MB / 0.6262 GB, free: 84.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002747/1.266, allocations: 112 kB / 0.6263 GB, free: 83.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/1.277, allocations: 10.47 MB / 0.6366 GB, free: 73.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/1.277, allocations: 15.94 kB / 0.6366 GB, free: 73.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/1.29, allocations: 10.93 MB / 0.6473 GB, free: 62.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002424/1.292, allocations: 0.9991 MB / 0.6482 GB, free: 61.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004871/1.293, allocations: 99.98 kB / 0.6483 GB, free: 60.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/1.295, allocations: 275.8 kB / 0.6486 GB, free: 60.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005968/1.295, allocations: 347.1 kB / 0.6489 GB, free: 60.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/1.296, allocations: 151.2 kB / 0.6491 GB, free: 60.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002442/1.298, allocations: 2.117 MB / 0.6511 GB, free: 58.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/1.298, allocations: 0 / 0.6511 GB, free: 58.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005674/1.304, allocations: 2.23 MB / 0.6533 GB, free: 55.85 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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 Backend phase and start with SimCode phase: time 0.01281/1.317, allocations: 11.68 MB / 0.6647 GB, free: 43.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01956/1.336, allocations: 11.66 MB / 0.6761 GB, free: 32.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-05/1.336, allocations: 0 / 0.6761 GB, free: 32.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005335/1.342, allocations: 3.722 MB / 0.6797 GB, free: 28.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/1.346, allocations: 0.8062 MB / 0.6805 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3661/1.712, allocations: 61.2 MB / 0.7403 GB, free: 116.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006574/1.719, allocations: 5.936 MB / 0.7461 GB, free: 114.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006157/1.725, allocations: 2.155 MB / 0.7482 GB, free: 114.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003392/1.728, allocations: 3.021 MB / 0.7511 GB, free: 111.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.633e-06/1.728, allocations: 3.938 kB / 0.7511 GB, free: 111.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1757/1.904, allocations: 116.2 MB / 0.8646 GB, free: 12.23 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003187/1.904, allocations: 266.7 kB / 0.8649 GB, free: 11.87 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.556/6.46, allocations: 0 / 0.8649 GB, free: 11.87 MB / 462.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","../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