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.0009327/0.0009327, allocations: 96.23 kB / 17.3 MB, free: 6.387 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.0009122/0.0009126, allocations: 177.4 kB / 18.21 MB, free: 5.551 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.288/1.288, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004631/0.0004631, allocations: 12 kB / 281.5 MB, free: 3.32 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09949/0.09996, allocations: 47.58 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0224/0.1224, allocations: 15.39 MB / 344.5 MB, free: 4.207 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.1358, allocations: 4.581 MB / 349 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003448/0.1393, allocations: 107.6 kB / 349.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004261/0.1436, allocations: 1.163 MB / 350.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007805/0.1514, allocations: 1.692 MB / 352 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005022/0.1565, allocations: 1.52 MB / 353.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01031/0.1668, allocations: 9.477 MB / 363 MB, free: 1.598 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2392/0.406, allocations: 20.99 MB / 384 MB, free: 16.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006551/0.4126, allocations: 3.757 MB / 387.7 MB, free: 16.58 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009191/0.4219, allocations: 4.54 MB / 392.3 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002227/0.4241, allocations: 0.5623 MB / 392.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00365/0.4278, allocations: 0.8497 MB / 393.7 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.4293, allocations: 1.794 MB / 395.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005691/0.435, allocations: 4.266 MB / 399.8 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.4483, allocations: 17.1 MB / 416.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.4483, allocations: 3.984 kB / 416.9 MB, free: 5.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.4483, allocations: 0 / 416.9 MB, free: 5.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005673/0.4489, allocations: 0 / 416.9 MB, free: 5.922 MB / 318.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.02674/0.4757, allocations: 10.28 MB / 427.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.4757, allocations: 8.031 kB / 427.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004223/0.48, allocations: 1.518 MB / 428.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0348/0.5148, allocations: 6.215 MB / 434.9 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/0.5282, allocations: 5.183 MB / 440.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008189/0.529, allocations: 0.6771 MB / 440.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004294/0.5334, allocations: 0.8762 MB / 441.6 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04262/0.576, allocations: 14.76 MB / 456.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004816/0.5765, allocations: 4 kB / 456.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003465/0.58, allocations: 374.6 kB / 456.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006257/0.5807, allocations: 499.3 kB / 457.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03091/0.6116, allocations: 13.56 MB / 470.8 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08117/0.6928, allocations: 44.75 MB / 0.5035 GB, free: 6.684 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01632/0.7091, allocations: 11.71 MB / 0.5149 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006164/0.7154, allocations: 3.223 MB / 0.518 GB, free: 6.652 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004947/0.7159, allocations: 181.2 kB / 0.5182 GB, free: 6.473 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.65e-05/0.716, allocations: 86.2 kB / 0.5183 GB, free: 6.383 MB / 430.1 MB Notification: Performance of pre-optimization done (n=421): time 6.682e-06/0.716, allocations: 0 / 0.5183 GB, free: 6.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=421): time 0.02333/0.7393, allocations: 9.748 MB / 0.5278 GB, free: 12.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/0.7395, allocations: 128.8 kB / 0.5279 GB, free: 12.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006437/0.746, allocations: 3.152 MB / 0.531 GB, free: 9.309 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005919/0.7466, allocations: 93.7 kB / 0.5311 GB, free: 9.211 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002994/0.7496, allocations: 3.683 MB / 0.5347 GB, free: 5.504 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002081/0.7517, allocations: 1.429 MB / 0.5361 GB, free: 4.086 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00122/0.7529, allocations: 466.8 kB / 0.5365 GB, free: 3.621 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.753, allocations: 305.1 kB / 0.5368 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00512/0.7581, allocations: 2.916 MB / 0.5397 GB, free: 408 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2267/0.9848, allocations: 4.972 MB / 0.5445 GB, free: 143 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/0.9953, allocations: 8.405 MB / 0.5527 GB, free: 139.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001285/0.9955, allocations: 19.72 kB / 0.5528 GB, free: 139.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01619/1.012, allocations: 9.244 MB / 0.5618 GB, free: 136 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.062e-05/1.012, allocations: 31.62 kB / 0.5618 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/1.012, allocations: 68.03 kB / 0.5619 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003122/1.015, allocations: 1.12 MB / 0.563 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005007/1.02, allocations: 1.288 MB / 0.5642 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/1.033, allocations: 9.93 MB / 0.5739 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004614/1.037, allocations: 0.7377 MB / 0.5746 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001164/1.038, allocations: 279.6 kB / 0.5749 GB, free: 129.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 (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.006418/1.045, allocations: 3.431 MB / 0.5783 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.046, allocations: 349 kB / 0.5786 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/1.058, allocations: 7.047 MB / 0.5855 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00827/1.066, allocations: 5.865 MB / 0.5912 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.229e-05/1.066, allocations: 12 kB / 0.5912 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.883e-05/1.066, allocations: 22.64 kB / 0.5912 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02758/1.094, allocations: 15.56 MB / 0.6064 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.583e-05/1.094, allocations: 15.98 kB / 0.6065 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/1.097, allocations: 0.784 MB / 0.6072 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002833/1.1, allocations: 1.037 MB / 0.6082 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003948/1.1, allocations: 116.8 kB / 0.6083 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/1.111, allocations: 9.677 MB / 0.6178 GB, free: 94.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-05/1.111, allocations: 15.94 kB / 0.6178 GB, free: 94.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01572/1.127, allocations: 10.93 MB / 0.6285 GB, free: 83.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002613/1.13, allocations: 1.007 MB / 0.6295 GB, free: 82.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/1.131, allocations: 93.59 kB / 0.6296 GB, free: 82.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002915/1.134, allocations: 287.7 kB / 0.6298 GB, free: 82.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007866/1.135, allocations: 339.2 kB / 0.6302 GB, free: 81.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002583/1.135, allocations: 144 kB / 0.6303 GB, free: 81.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00299/1.138, allocations: 2.125 MB / 0.6324 GB, free: 79.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.138, allocations: 4 kB / 0.6324 GB, free: 79.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006535/1.145, allocations: 2.23 MB / 0.6345 GB, free: 77.38 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.01304/1.158, allocations: 11.68 MB / 0.646 GB, free: 65.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01096/1.169, allocations: 7.572 MB / 0.6533 GB, free: 57.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.586e-05/1.169, allocations: 4.062 kB / 0.6534 GB, free: 57.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005814/1.174, allocations: 3.727 MB / 0.657 GB, free: 54.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009714/1.184, allocations: 0.7778 MB / 0.6578 GB, free: 53.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2851/1.469, allocations: 61.25 MB / 0.7176 GB, free: 144.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006684/1.476, allocations: 5.939 MB / 0.7234 GB, free: 143.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00546/1.481, allocations: 2.161 MB / 0.7255 GB, free: 143.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004129/1.486, allocations: 3.02 MB / 0.7284 GB, free: 140.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/1.486, allocations: 0 / 0.7284 GB, free: 140.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1509/1.637, allocations: 112.3 MB / 0.8381 GB, free: 41.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/1.637, allocations: 269.8 kB / 0.8384 GB, free: 40.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.123/5.76, allocations: 0 / 0.8384 GB, free: 40.8 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","../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