Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_cpp_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_cpp_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/Complex trunk/package.mo): time 0.0009538/0.0009537, allocations: 197.4 kB / 17.38 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.178/1.178, allocations: 226.5 MB / 244.7 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007688/0.0007688, allocations: 97.53 kB / 296.7 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002116/0.0002117, allocations: 4 kB / 356.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.177, allocations: 51.3 MB / 408.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009535/0.1866, allocations: 14.39 MB / 422.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006477/0.1931, allocations: 4.305 MB / 426.8 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.1953, allocations: 119.7 kB / 427 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00249/0.1978, allocations: 0.8468 MB / 427.8 MB, free: 7.984 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004346/0.2022, allocations: 1.665 MB / 429.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002807/0.205, allocations: 1.222 MB / 430.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01281/0.2178, allocations: 12.25 MB / 442.9 MB, free: 8.809 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03123/0.2491, allocations: 20.59 MB / 463.5 MB, free: 4.086 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005505/0.2546, allocations: 3.953 MB / 467.5 MB, free: 124 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006048/0.2607, allocations: 4.34 MB / 471.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001629/0.2624, allocations: 0.5625 MB / 472.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003204/0.2656, allocations: 0.8629 MB / 473.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002223/0.2678, allocations: 1.752 MB / 475 MB, free: 8.578 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006016/0.2739, allocations: 4.097 MB / 479.1 MB, free: 4.457 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01375/0.2876, allocations: 15.4 MB / 494.5 MB, free: 5.016 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2877, allocations: 0 / 494.5 MB, free: 5.016 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2877, allocations: 4 kB / 494.5 MB, free: 5.012 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004033/0.2881, allocations: 0 / 494.5 MB, free: 5.012 MB / 362.7 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.02575/0.3138, allocations: 10.28 MB / 0.4929 GB, free: 10.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3139, allocations: 8.031 kB / 0.493 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004163/0.3181, allocations: 1.513 MB / 0.4944 GB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03185/0.3499, allocations: 6.24 MB / 0.5005 GB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3037/0.6537, allocations: 5.668 MB / 0.5061 GB, free: 75.69 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000552/0.6542, allocations: 0.6728 MB / 0.5067 GB, free: 75.39 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002662/0.6569, allocations: 0.8809 MB / 0.5076 GB, free: 75.1 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02893/0.6859, allocations: 14.68 MB / 0.5219 GB, free: 69.57 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002297/0.6861, allocations: 6.875 kB / 0.5219 GB, free: 69.57 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00158/0.6877, allocations: 383.1 kB / 0.5223 GB, free: 69.29 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003557/0.6881, allocations: 0.4911 MB / 0.5228 GB, free: 69.21 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02166/0.7097, allocations: 13.49 MB / 0.5359 GB, free: 56.78 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05613/0.7659, allocations: 45.24 MB / 0.5801 GB, free: 10.88 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009308/0.7753, allocations: 11.69 MB / 0.5915 GB, free: 14.09 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004613/0.7799, allocations: 3.217 MB / 0.5947 GB, free: 10.88 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004458/0.7804, allocations: 257.1 kB / 0.5949 GB, free: 10.6 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.531e-05/0.7804, allocations: 78.56 kB / 0.595 GB, free: 10.52 MB / 394.8 MB Notification: Performance of pre-optimization done (n=421): time 5.841e-06/0.7805, allocations: 3.938 kB / 0.595 GB, free: 10.51 MB / 394.8 MB Notification: Performance of matching and sorting (n=421): time 0.01967/0.8001, allocations: 9.713 MB / 0.6045 GB, free: 0.7539 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.8002, allocations: 121.1 kB / 0.6046 GB, free: 0.6172 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004034/0.8043, allocations: 3.14 MB / 0.6077 GB, free: 13.46 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003541/0.8046, allocations: 89.7 kB / 0.6077 GB, free: 13.36 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002031/0.8067, allocations: 3.683 MB / 0.6113 GB, free: 9.656 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001171/0.8079, allocations: 1.427 MB / 0.6127 GB, free: 8.242 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/0.8082, allocations: 120 kB / 0.6129 GB, free: 8.125 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0003095/0.8085, allocations: 0.5509 MB / 0.6134 GB, free: 7.566 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00388/0.8124, allocations: 2.885 MB / 0.6162 GB, free: 4.676 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004911/0.8173, allocations: 4.959 MB / 0.621 GB, free: 14.77 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009398/0.8267, allocations: 8.369 MB / 0.6292 GB, free: 5.441 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-05/0.8268, allocations: 20 kB / 0.6292 GB, free: 5.422 MB / 426.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01378/0.8405, allocations: 9.184 MB / 0.6382 GB, free: 12.18 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.03e-05/0.8406, allocations: 43.88 kB / 0.6383 GB, free: 12.14 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.732e-05/0.8407, allocations: 64 kB / 0.6383 GB, free: 12.08 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002923/0.8436, allocations: 1.127 MB / 0.6394 GB, free: 10.95 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004199/0.8479, allocations: 1.287 MB / 0.6407 GB, free: 9.656 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/0.8611, allocations: 9.924 MB / 0.6504 GB, free: 15.46 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004123/0.8653, allocations: 0.7395 MB / 0.6511 GB, free: 14.71 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008722/0.8661, allocations: 280 kB / 0.6514 GB, free: 14.44 MB / 458.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005612/0.8718, allocations: 3.423 MB / 0.6547 GB, free: 11 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008347/0.8726, allocations: 351.6 kB / 0.655 GB, free: 10.65 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/0.8848, allocations: 7.015 MB / 0.6619 GB, free: 3.578 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008929/0.8937, allocations: 5.843 MB / 0.6676 GB, free: 13.69 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.403e-05/0.8938, allocations: 12 kB / 0.6676 GB, free: 13.68 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.821e-05/0.8938, allocations: 19.92 kB / 0.6676 GB, free: 13.66 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1898/1.084, allocations: 15.53 MB / 0.6828 GB, free: 151.7 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.26e-05/1.084, allocations: 11.84 kB / 0.6828 GB, free: 151.7 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002869/1.087, allocations: 0.7842 MB / 0.6836 GB, free: 151.7 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002844/1.089, allocations: 1.026 MB / 0.6846 GB, free: 151.6 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003875/1.09, allocations: 112.9 kB / 0.6847 GB, free: 151.6 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/1.101, allocations: 9.669 MB / 0.6941 GB, free: 147.5 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/1.101, allocations: 19.75 kB / 0.6941 GB, free: 147.5 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/1.115, allocations: 10.88 MB / 0.7048 GB, free: 142.9 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.117, allocations: 1.008 MB / 0.7057 GB, free: 142.4 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006866/1.117, allocations: 105.1 kB / 0.7058 GB, free: 142.3 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/1.12, allocations: 277.9 kB / 0.7061 GB, free: 142.3 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008473/1.12, allocations: 342.4 kB / 0.7064 GB, free: 142.2 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002983/1.121, allocations: 148.1 kB / 0.7066 GB, free: 142.2 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002879/1.124, allocations: 2.101 MB / 0.7086 GB, free: 141.4 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.8e-07/1.124, allocations: 3.938 kB / 0.7086 GB, free: 141.4 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.00488/1.129, allocations: 2.223 MB / 0.7108 GB, free: 140.7 MB / 474.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01259/1.141, allocations: 11.63 MB / 0.7222 GB, free: 135.1 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.009437/1.151, allocations: 7.545 MB / 0.7295 GB, free: 128.6 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/1.151, allocations: 0 / 0.7295 GB, free: 128.6 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004773/1.155, allocations: 3.711 MB / 0.7331 GB, free: 125.4 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007528/1.163, allocations: 0.7747 MB / 0.7339 GB, free: 124.7 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04889/1.212, allocations: 42.84 MB / 0.7757 GB, free: 80.15 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004302/1.216, allocations: 5.765 MB / 0.7814 GB, free: 74.35 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003301/1.22, allocations: 3.073 MB / 0.7844 GB, free: 71.27 MB / 474.8 MB Notification: Performance of SimCode: time 6.91e-07/1.22, allocations: 0 / 0.7844 GB, free: 71.27 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.513/8.732, allocations: 221.7 MB / 1.001 GB, free: 20.57 MB / 474.8 MB (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches