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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001059/0.001059, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 68.09 kB / 306.4 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09426/0.0954, allocations: 50.54 MB / 356.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1817/0.2771, allocations: 16.31 MB / 373.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008214/0.2854, allocations: 4.693 MB / 377.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.2873, allocations: 130.4 kB / 378 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01356/0.3009, allocations: 6.792 MB / 384.8 MB, free: 6.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006613/0.3075, allocations: 1.791 MB / 386.6 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003859/0.3114, allocations: 1.456 MB / 388.1 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01186/0.3233, allocations: 9.607 MB / 397.7 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03137/0.3547, allocations: 17.64 MB / 415.3 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009368/0.3641, allocations: 4.666 MB / 420 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01265/0.3768, allocations: 5.723 MB / 425.7 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003709/0.3805, allocations: 1.004 MB / 426.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005435/0.3859, allocations: 1.3 MB / 428 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003787/0.3898, allocations: 2.431 MB / 430.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009812/0.3996, allocations: 4.975 MB / 435.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02032/0.4199, allocations: 18 MB / 453.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.42, allocations: 0 / 453.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.42, allocations: 4 kB / 453.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005694/0.4206, allocations: 4 kB / 453.4 MB, free: 11.78 MB / 366.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.03596/0.4565, allocations: 12.22 MB / 465.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.4566, allocations: 12.03 kB / 465.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004718/0.4613, allocations: 1.517 MB / 467.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03434/0.4957, allocations: 6.213 MB / 473.4 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/0.5089, allocations: 5.647 MB / 479 MB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000859/0.5097, allocations: 0.6665 MB / 479.7 MB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003701/0.5135, allocations: 0.8866 MB / 480.6 MB, free: 452 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03576/0.5492, allocations: 14.75 MB / 495.3 MB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000346/0.5496, allocations: 7.906 kB / 495.3 MB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002806/0.5524, allocations: 384 kB / 495.7 MB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005902/0.553, allocations: 499.3 kB / 496.2 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02828/0.5813, allocations: 13.56 MB / 0.4978 GB, free: 3.172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.425/1.006, allocations: 45.12 MB / 0.5419 GB, free: 111.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01466/1.021, allocations: 11.71 MB / 0.5533 GB, free: 104.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00607/1.027, allocations: 3.233 MB / 0.5565 GB, free: 104.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006348/1.028, allocations: 259.5 kB / 0.5567 GB, free: 104.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.698e-05/1.028, allocations: 75.28 kB / 0.5568 GB, free: 104.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 1.077e-05/1.028, allocations: 5.047 kB / 0.5568 GB, free: 104.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.0216/1.05, allocations: 9.72 MB / 0.5663 GB, free: 102.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/1.05, allocations: 124.5 kB / 0.5664 GB, free: 102.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005019/1.055, allocations: 3.153 MB / 0.5695 GB, free: 101.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007094/1.055, allocations: 93.2 kB / 0.5696 GB, free: 101.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002452/1.058, allocations: 3.69 MB / 0.5732 GB, free: 98.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00154/1.059, allocations: 1.427 MB / 0.5746 GB, free: 97.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001665/1.061, allocations: 1.136 MB / 0.5757 GB, free: 97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.639e-05/1.061, allocations: 312.8 kB / 0.576 GB, free: 96.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004072/1.065, allocations: 2.908 MB / 0.5788 GB, free: 95.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00494/1.07, allocations: 4.974 MB / 0.5837 GB, free: 91.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009851/1.08, allocations: 8.404 MB / 0.5919 GB, free: 85.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.14e-05/1.08, allocations: 23.59 kB / 0.5919 GB, free: 85.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01482/1.095, allocations: 9.234 MB / 0.6009 GB, free: 80.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.467e-05/1.095, allocations: 43.88 kB / 0.601 GB, free: 80.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-05/1.095, allocations: 64 kB / 0.601 GB, free: 80.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002671/1.098, allocations: 1.111 MB / 0.6021 GB, free: 79.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004133/1.102, allocations: 1.295 MB / 0.6034 GB, free: 78.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/1.113, allocations: 9.93 MB / 0.6131 GB, free: 67.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004412/1.118, allocations: 0.7356 MB / 0.6138 GB, free: 67.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/1.119, allocations: 280 kB / 0.6141 GB, free: 66.88 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.006415/1.125, allocations: 3.435 MB / 0.6174 GB, free: 63.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/1.127, allocations: 351.6 kB / 0.6178 GB, free: 63.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/1.139, allocations: 7.046 MB / 0.6246 GB, free: 55.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009003/1.148, allocations: 5.875 MB / 0.6304 GB, free: 50.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.446e-05/1.148, allocations: 15.94 kB / 0.6304 GB, free: 50.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.608e-05/1.148, allocations: 19.92 kB / 0.6304 GB, free: 50.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02832/1.177, allocations: 15.55 MB / 0.6456 GB, free: 34.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.766e-05/1.177, allocations: 12 kB / 0.6456 GB, free: 34.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002988/1.18, allocations: 0.7966 MB / 0.6464 GB, free: 33.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002941/1.183, allocations: 1.032 MB / 0.6474 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007048/1.184, allocations: 112 kB / 0.6475 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/1.195, allocations: 9.673 MB / 0.6569 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/1.195, allocations: 22.12 kB / 0.657 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/1.21, allocations: 10.93 MB / 0.6676 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002462/1.213, allocations: 1.007 MB / 0.6686 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/1.214, allocations: 99.98 kB / 0.6687 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002784/1.217, allocations: 271.7 kB / 0.669 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009855/1.218, allocations: 347.2 kB / 0.6693 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005251/1.218, allocations: 143.9 kB / 0.6694 GB, free: 9.379 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003359/1.222, allocations: 2.125 MB / 0.6715 GB, free: 7.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.222, allocations: 0 / 0.6715 GB, free: 7.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006928/1.228, allocations: 2.228 MB / 0.6737 GB, free: 5.016 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.01914/1.248, allocations: 11.67 MB / 0.6851 GB, free: 9.113 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01412/1.262, allocations: 7.566 MB / 0.6925 GB, free: 1.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/1.262, allocations: 4 kB / 0.6925 GB, free: 1.516 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006767/1.269, allocations: 3.721 MB / 0.6961 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005343/1.274, allocations: 0.774 MB / 0.6969 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2851/1.559, allocations: 61.21 MB / 0.7566 GB, free: 124.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01015/1.569, allocations: 5.937 MB / 0.7624 GB, free: 121.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006653/1.576, allocations: 2.155 MB / 0.7646 GB, free: 120.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005356/1.581, allocations: 3.018 MB / 0.7675 GB, free: 117.1 MB / 478.1 MB Notification: Performance of SimCode: time 9.72e-07/1.581, allocations: 0 / 0.7675 GB, free: 117.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.189/2.77, allocations: 113.9 MB / 0.8787 GB, free: 3.68 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/2.77, allocations: 282.9 kB / 0.879 GB, free: 3.305 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.95/6.721, allocations: 0 / 0.879 GB, free: 3.305 MB / 478.1 MB (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 --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) 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.0.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) Reference file matches