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.001296/0.001296, allocations: 102.6 kB / 17.72 MB, free: 5.355 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.001481/0.001481, allocations: 191 kB / 18.66 MB, free: 4.426 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.323/1.323, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001093/0.001093, allocations: 47.94 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/0.09293, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2153/0.3082, allocations: 16.54 MB / 391.2 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009331/0.3176, allocations: 4.657 MB / 395.8 MB, free: 380 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003294/0.3209, allocations: 111.9 kB / 396 MB, free: 360 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01625/0.3372, allocations: 7.16 MB / 403.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007295/0.3445, allocations: 1.865 MB / 405 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005043/0.3496, allocations: 1.638 MB / 406.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01982/0.3694, allocations: 9.394 MB / 416 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05147/0.421, allocations: 20.84 MB / 436.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01081/0.4318, allocations: 5.245 MB / 442.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0119/0.4438, allocations: 5.864 MB / 448 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004736/0.4485, allocations: 1.359 MB / 449.3 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007051/0.4556, allocations: 1.652 MB / 451 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005233/0.4609, allocations: 2.79 MB / 453.8 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01139/0.4723, allocations: 5.354 MB / 459.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02322/0.4955, allocations: 18.19 MB / 477.3 MB, free: 9.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4956, allocations: 0 / 477.3 MB, free: 9.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4956, allocations: 0 / 477.3 MB, free: 9.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006233/0.4962, allocations: 0 / 477.3 MB, free: 9.102 MB / 398.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.04054/0.5368, allocations: 12.12 MB / 489.4 MB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.5369, allocations: 12.03 kB / 489.4 MB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006105/0.543, allocations: 1.509 MB / 491 MB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03511/0.5781, allocations: 6.244 MB / 497.2 MB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/0.591, allocations: 5.176 MB / 0.4906 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009567/0.592, allocations: 0.6665 MB / 0.4913 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004308/0.5963, allocations: 0.8827 MB / 0.4921 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03551/0.6318, allocations: 14.71 MB / 0.5065 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004048/0.6323, allocations: 11.91 kB / 0.5065 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002884/0.6352, allocations: 368 kB / 0.5068 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000551/0.6357, allocations: 0.4953 MB / 0.5073 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02939/0.6652, allocations: 13.52 MB / 0.5205 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3964/1.062, allocations: 44.09 MB / 0.5636 GB, free: 120.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/1.072, allocations: 11.64 MB / 0.575 GB, free: 113.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004272/1.077, allocations: 3.168 MB / 0.578 GB, free: 113.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003256/1.077, allocations: 175.3 kB / 0.5782 GB, free: 113.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/1.077, allocations: 77.31 kB / 0.5783 GB, free: 113.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 8.005e-06/1.077, allocations: 2.516 kB / 0.5783 GB, free: 113.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.01904/1.096, allocations: 9.601 MB / 0.5877 GB, free: 111.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/1.096, allocations: 119.6 kB / 0.5878 GB, free: 111.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004951/1.101, allocations: 3.157 MB / 0.5909 GB, free: 110.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004726/1.102, allocations: 93.23 kB / 0.591 GB, free: 110.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001842/1.103, allocations: 3.694 MB / 0.5946 GB, free: 107.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001218/1.105, allocations: 1.39 MB / 0.5959 GB, free: 106.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00239/1.107, allocations: 1.127 MB / 0.597 GB, free: 106.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.381e-05/1.107, allocations: 312.9 kB / 0.5973 GB, free: 106 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003842/1.111, allocations: 2.833 MB / 0.6001 GB, free: 105 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004835/1.116, allocations: 4.897 MB / 0.6049 GB, free: 101.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008605/1.124, allocations: 8.259 MB / 0.6129 GB, free: 95.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.274e-05/1.124, allocations: 18.88 kB / 0.6129 GB, free: 95.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01316/1.138, allocations: 9.098 MB / 0.6218 GB, free: 90.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.847e-05/1.138, allocations: 36 kB / 0.6219 GB, free: 90.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001064/1.138, allocations: 64 kB / 0.6219 GB, free: 90.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002989/1.141, allocations: 1.153 MB / 0.6231 GB, free: 89.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00415/1.145, allocations: 1.291 MB / 0.6243 GB, free: 88.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/1.157, allocations: 10.82 MB / 0.6349 GB, free: 77.08 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004107/1.161, allocations: 0.7356 MB / 0.6356 GB, free: 76.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009718/1.162, allocations: 272 kB / 0.6359 GB, free: 76.07 MB / 478.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.005196/1.167, allocations: 3.427 MB / 0.6392 GB, free: 72.63 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009849/1.168, allocations: 347.7 kB / 0.6395 GB, free: 72.29 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/1.179, allocations: 6.901 MB / 0.6463 GB, free: 65.36 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007537/1.186, allocations: 5.738 MB / 0.6519 GB, free: 59.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.26e-05/1.186, allocations: 15.98 kB / 0.6519 GB, free: 59.59 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-05/1.186, allocations: 23.86 kB / 0.6519 GB, free: 59.57 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0247/1.211, allocations: 15.22 MB / 0.6668 GB, free: 44.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.431e-05/1.211, allocations: 12 kB / 0.6668 GB, free: 44.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002748/1.214, allocations: 0.7924 MB / 0.6676 GB, free: 43.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0028/1.217, allocations: 1.067 MB / 0.6686 GB, free: 42.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004024/1.217, allocations: 104 kB / 0.6687 GB, free: 42.22 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01157/1.229, allocations: 10.57 MB / 0.679 GB, free: 31.39 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/1.229, allocations: 23.94 kB / 0.6791 GB, free: 31.36 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01536/1.244, allocations: 10.68 MB / 0.6895 GB, free: 20.45 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/1.246, allocations: 0.9874 MB / 0.6905 GB, free: 19.44 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000927/1.247, allocations: 100 kB / 0.6905 GB, free: 19.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/1.25, allocations: 275.7 kB / 0.6908 GB, free: 19.07 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007055/1.25, allocations: 343.2 kB / 0.6911 GB, free: 18.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000376/1.251, allocations: 140.9 kB / 0.6913 GB, free: 18.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003132/1.254, allocations: 2.125 MB / 0.6933 GB, free: 16.47 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.254, allocations: 0 / 0.6933 GB, free: 16.47 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005797/1.26, allocations: 2.233 MB / 0.6955 GB, free: 14.23 MB / 478.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.01354/1.273, allocations: 11.41 MB / 0.7067 GB, free: 2.586 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01179/1.285, allocations: 7.463 MB / 0.714 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-05/1.285, allocations: 4 kB / 0.714 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006361/1.292, allocations: 3.649 MB / 0.7175 GB, free: 7.441 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004764/1.296, allocations: 0.7937 MB / 0.7183 GB, free: 6.656 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2667/1.563, allocations: 51.65 MB / 0.7687 GB, free: 148.3 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005622/1.569, allocations: 5.937 MB / 0.7745 GB, free: 146.2 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.004453/1.573, allocations: 2.155 MB / 0.7766 GB, free: 146 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003519/1.577, allocations: 3 MB / 0.7796 GB, free: 143.4 MB / 0.4982 GB Notification: Performance of SimCode: time 1.443e-06/1.577, allocations: 0 / 0.7796 GB, free: 143.4 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1493/1.726, allocations: 114.4 MB / 0.8913 GB, free: 33.82 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.29/20.01, allocations: 4.188 kB / 0.8913 GB, free: 33.82 MB / 0.4982 GB (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