Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_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.00129/0.00129, allocations: 110 kB / 16.51 MB, free: 6.715 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.001318/0.001318, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 52.83 kB / 300.1 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09753, allocations: 49.45 MB / 349.5 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01777/0.1153, allocations: 16.31 MB / 365.8 MB, free: 4.359 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.18/0.2954, allocations: 4.61 MB / 370.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003969/0.2994, allocations: 129.4 kB / 370.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01349/0.313, allocations: 6.799 MB / 377.4 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006039/0.319, allocations: 1.801 MB / 379.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003638/0.3227, allocations: 1.441 MB / 380.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01179/0.3345, allocations: 9.49 MB / 390.1 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02825/0.3628, allocations: 17.64 MB / 407.7 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007436/0.3702, allocations: 4.658 MB / 412.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008783/0.379, allocations: 5.731 MB / 418.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002686/0.3817, allocations: 1.004 MB / 419.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004316/0.3861, allocations: 1.295 MB / 420.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003405/0.3895, allocations: 2.413 MB / 422.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00998/0.3995, allocations: 4.978 MB / 427.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02018/0.4197, allocations: 17.99 MB / 445.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.4198, allocations: 4 kB / 445.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4198, allocations: 0 / 445.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005007/0.4203, allocations: 0 / 445.8 MB, free: 3.074 MB / 350.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.03603/0.4563, allocations: 12.22 MB / 458 MB, free: 6.871 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.4564, allocations: 8.031 kB / 458 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005267/0.4617, allocations: 1.518 MB / 459.6 MB, free: 5.344 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03435/0.496, allocations: 6.189 MB / 465.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01266/0.5087, allocations: 5.639 MB / 471.4 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006616/0.5094, allocations: 0.6679 MB / 472.1 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003361/0.5128, allocations: 0.8835 MB / 472.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03772/0.5505, allocations: 14.76 MB / 487.7 MB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002367/0.5508, allocations: 7.906 kB / 487.7 MB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001484/0.5523, allocations: 380.7 kB / 488.1 MB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004882/0.5528, allocations: 499.3 kB / 488.6 MB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0268/0.5796, allocations: 13.56 MB / 0.4904 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4148/0.9944, allocations: 44.63 MB / 0.5339 GB, free: 119.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/1.007, allocations: 11.72 MB / 0.5454 GB, free: 112.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005258/1.012, allocations: 3.235 MB / 0.5485 GB, free: 112.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003998/1.012, allocations: 182.5 kB / 0.5487 GB, free: 112.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.561e-05/1.012, allocations: 77.19 kB / 0.5488 GB, free: 112.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 8.005e-06/1.012, allocations: 4.547 kB / 0.5488 GB, free: 112.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.02019/1.033, allocations: 9.723 MB / 0.5583 GB, free: 112.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/1.033, allocations: 120.7 kB / 0.5584 GB, free: 112.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004921/1.038, allocations: 3.161 MB / 0.5615 GB, free: 111.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007319/1.038, allocations: 89.61 kB / 0.5616 GB, free: 111.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002081/1.04, allocations: 3.671 MB / 0.5652 GB, free: 109.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001344/1.042, allocations: 1.439 MB / 0.5666 GB, free: 108.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001522/1.043, allocations: 1.14 MB / 0.5677 GB, free: 107.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.662e-05/1.043, allocations: 304.9 kB / 0.568 GB, free: 107.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003705/1.047, allocations: 2.909 MB / 0.5708 GB, free: 106.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004709/1.052, allocations: 4.983 MB / 0.5757 GB, free: 102.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008842/1.061, allocations: 8.406 MB / 0.5839 GB, free: 97.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.721e-05/1.061, allocations: 17.91 kB / 0.5839 GB, free: 97.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01494/1.076, allocations: 9.234 MB / 0.5929 GB, free: 92.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.953e-05/1.076, allocations: 32.09 kB / 0.5929 GB, free: 92.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000134/1.076, allocations: 73.25 kB / 0.593 GB, free: 92.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003411/1.079, allocations: 1.118 MB / 0.5941 GB, free: 92.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004762/1.084, allocations: 1.291 MB / 0.5954 GB, free: 91.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/1.097, allocations: 9.931 MB / 0.6051 GB, free: 81.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005804/1.103, allocations: 0.7434 MB / 0.6058 GB, free: 80.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001395/1.104, allocations: 276 kB / 0.6061 GB, free: 80.6 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.007708/1.112, allocations: 3.427 MB / 0.6094 GB, free: 77.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/1.113, allocations: 351.6 kB / 0.6097 GB, free: 76.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/1.125, allocations: 7.039 MB / 0.6166 GB, free: 69.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007565/1.133, allocations: 5.866 MB / 0.6223 GB, free: 63.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-05/1.133, allocations: 15.81 kB / 0.6224 GB, free: 63.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.188e-05/1.133, allocations: 23.92 kB / 0.6224 GB, free: 63.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02106/1.154, allocations: 15.56 MB / 0.6376 GB, free: 48.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/1.154, allocations: 12 kB / 0.6376 GB, free: 48.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002633/1.156, allocations: 0.784 MB / 0.6384 GB, free: 47.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002593/1.159, allocations: 1.037 MB / 0.6394 GB, free: 46.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002642/1.159, allocations: 112 kB / 0.6395 GB, free: 46.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/1.17, allocations: 9.675 MB / 0.6489 GB, free: 36.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/1.17, allocations: 28.38 kB / 0.6489 GB, free: 36.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/1.183, allocations: 10.93 MB / 0.6596 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002128/1.185, allocations: 1.007 MB / 0.6606 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005063/1.186, allocations: 95.98 kB / 0.6607 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00193/1.188, allocations: 283.7 kB / 0.661 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006691/1.189, allocations: 345.6 kB / 0.6613 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002406/1.189, allocations: 144 kB / 0.6614 GB, free: 23.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002676/1.192, allocations: 2.125 MB / 0.6635 GB, free: 20.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.192, allocations: 0 / 0.6635 GB, free: 20.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006266/1.198, allocations: 2.233 MB / 0.6657 GB, free: 18.74 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.01332/1.211, allocations: 11.68 MB / 0.6771 GB, free: 6.832 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01171/1.223, allocations: 7.569 MB / 0.6845 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-05/1.223, allocations: 12.19 kB / 0.6845 GB, free: 15.22 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006711/1.23, allocations: 3.713 MB / 0.6881 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004246/1.234, allocations: 0.7652 MB / 0.6889 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2964/1.53, allocations: 61.2 MB / 0.7486 GB, free: 115.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006976/1.537, allocations: 5.942 MB / 0.7544 GB, free: 112 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005545/1.543, allocations: 2.156 MB / 0.7565 GB, free: 109.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005208/1.548, allocations: 3.022 MB / 0.7595 GB, free: 106.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/1.548, allocations: 0 / 0.7595 GB, free: 106.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1566/1.705, allocations: 114 MB / 0.8708 GB, free: 9.309 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/1.705, allocations: 267.8 kB / 0.8711 GB, free: 8.949 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.103/5.809, allocations: 4 kB / 0.8711 GB, free: 8.945 MB / 478.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches