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.001322/0.001322, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 59.91 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2608, allocations: 50.55 MB / 408.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01914/0.28, allocations: 16.61 MB / 425.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.2903, allocations: 4.696 MB / 430.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002971/0.2933, allocations: 131.6 kB / 430.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01684/0.3102, allocations: 7.171 MB / 437.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007198/0.3174, allocations: 1.947 MB / 439.4 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004702/0.3221, allocations: 1.548 MB / 440.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0132/0.3353, allocations: 9.492 MB / 450.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03222/0.3676, allocations: 20.85 MB / 471.3 MB, free: 2.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008065/0.3757, allocations: 5.233 MB / 476.5 MB, free: 13.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009399/0.3851, allocations: 5.911 MB / 482.4 MB, free: 7.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00372/0.3889, allocations: 1.367 MB / 483.8 MB, free: 6.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005239/0.3941, allocations: 1.66 MB / 485.5 MB, free: 4.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004584/0.3988, allocations: 2.79 MB / 488.2 MB, free: 1.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009588/0.4084, allocations: 5.362 MB / 493.6 MB, free: 12.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02369/0.4321, allocations: 18.4 MB / 0.5 GB, free: 9.875 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4321, allocations: 0 / 0.5 GB, free: 9.875 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.041e-06/0.4322, allocations: 0 / 0.5 GB, free: 9.875 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004439/0.4326, allocations: 3.938 kB / 0.5 GB, free: 9.871 MB / 430.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.03731/0.4699, allocations: 12.33 MB / 0.5121 GB, free: 13.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.47, allocations: 8.031 kB / 0.5121 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005381/0.4754, allocations: 1.513 MB / 0.5135 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03732/0.5127, allocations: 6.195 MB / 0.5196 GB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01282/0.5256, allocations: 5.852 MB / 0.5253 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007264/0.5264, allocations: 0.6704 MB / 0.526 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003421/0.5298, allocations: 0.8827 MB / 0.5268 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4197/0.9495, allocations: 14.74 MB / 0.5412 GB, free: 106.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003599/0.9499, allocations: 8.969 kB / 0.5412 GB, free: 106.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002464/0.9524, allocations: 371.9 kB / 0.5416 GB, free: 106.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009633/0.9533, allocations: 0.493 MB / 0.5421 GB, free: 106.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02714/0.9805, allocations: 13.57 MB / 0.5553 GB, free: 102.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07545/1.056, allocations: 44.73 MB / 0.599 GB, free: 65.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01101/1.067, allocations: 11.66 MB / 0.6104 GB, free: 52.35 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004312/1.071, allocations: 3.172 MB / 0.6135 GB, free: 49.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004911/1.072, allocations: 296.4 kB / 0.6138 GB, free: 48.88 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.137e-05/1.072, allocations: 84.28 kB / 0.6138 GB, free: 48.79 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 7.884e-06/1.072, allocations: 0 / 0.6138 GB, free: 48.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.02073/1.093, allocations: 9.611 MB / 0.6232 GB, free: 39.14 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/1.093, allocations: 125.1 kB / 0.6233 GB, free: 39 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00511/1.098, allocations: 3.163 MB / 0.6264 GB, free: 35.87 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006054/1.099, allocations: 97.58 kB / 0.6265 GB, free: 35.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001721/1.1, allocations: 3.832 MB / 0.6303 GB, free: 32.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001273/1.102, allocations: 1.453 MB / 0.6317 GB, free: 30.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002719/1.104, allocations: 1.148 MB / 0.6328 GB, free: 29.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.482e-05/1.104, allocations: 305.1 kB / 0.6331 GB, free: 29.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003931/1.108, allocations: 2.845 MB / 0.6359 GB, free: 26.65 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005012/1.113, allocations: 4.9 MB / 0.6407 GB, free: 20.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009349/1.123, allocations: 8.275 MB / 0.6487 GB, free: 11.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.465e-05/1.123, allocations: 24 kB / 0.6488 GB, free: 11.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01478/1.138, allocations: 9.156 MB / 0.6577 GB, free: 2.406 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.679e-05/1.138, allocations: 36 kB / 0.6577 GB, free: 2.371 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/1.138, allocations: 64 kB / 0.6578 GB, free: 2.309 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003439/1.141, allocations: 1.146 MB / 0.6589 GB, free: 1.156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004347/1.146, allocations: 1.299 MB / 0.6602 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0173/1.163, allocations: 10.82 MB / 0.6708 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004901/1.168, allocations: 0.7452 MB / 0.6715 GB, free: 4.016 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/1.169, allocations: 284 kB / 0.6718 GB, free: 3.738 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.007328/1.177, allocations: 3.42 MB / 0.6751 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/1.178, allocations: 369.6 kB / 0.6755 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01506/1.193, allocations: 6.913 MB / 0.6822 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01103/1.204, allocations: 5.756 MB / 0.6878 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.521e-05/1.204, allocations: 12 kB / 0.6878 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.378e-05/1.204, allocations: 23.91 kB / 0.6879 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03209/1.236, allocations: 15.28 MB / 0.7028 GB, free: 3.73 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.073e-05/1.236, allocations: 12 kB / 0.7028 GB, free: 3.719 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003397/1.24, allocations: 0.8004 MB / 0.7036 GB, free: 2.918 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003549/1.243, allocations: 1.059 MB / 0.7046 GB, free: 1.852 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007097/1.244, allocations: 115.9 kB / 0.7047 GB, free: 1.738 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01675/1.261, allocations: 10.58 MB / 0.7151 GB, free: 6.871 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.851e-05/1.261, allocations: 19.94 kB / 0.7151 GB, free: 6.852 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02054/1.282, allocations: 10.73 MB / 0.7256 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002831/1.284, allocations: 1.013 MB / 0.7265 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001241/1.286, allocations: 100 kB / 0.7266 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003045/1.289, allocations: 271.6 kB / 0.7269 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001087/1.29, allocations: 351.1 kB / 0.7272 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006084/1.29, allocations: 152 kB / 0.7274 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004484/1.295, allocations: 2.121 MB / 0.7294 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/1.295, allocations: 0 / 0.7294 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008135/1.303, allocations: 2.255 MB / 0.7316 GB, free: 5.605 MB / 0.5294 GB 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.02067/1.324, allocations: 11.46 MB / 0.7428 GB, free: 9.902 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01451/1.338, allocations: 7.476 MB / 0.7501 GB, free: 2.402 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/1.338, allocations: 4 kB / 0.7501 GB, free: 2.398 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.2385/1.577, allocations: 3.667 MB / 0.7537 GB, free: 197.9 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004887/1.582, allocations: 0.8046 MB / 0.7545 GB, free: 197.9 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08461/1.666, allocations: 51.84 MB / 0.8051 GB, free: 161.5 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008953/1.675, allocations: 5.93 MB / 0.8109 GB, free: 155.6 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.005857/1.681, allocations: 2.158 MB / 0.813 GB, free: 153.4 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004786/1.686, allocations: 3.03 MB / 0.816 GB, free: 150.4 MB / 0.5451 GB Notification: Performance of SimCode: time 1.152e-06/1.686, allocations: 0 / 0.816 GB, free: 150.4 MB / 0.5451 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1673/1.854, allocations: 112.9 MB / 0.9262 GB, free: 37.92 MB / 0.5451 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.34/20.19, allocations: 16.12 kB / 0.9263 GB, free: 37.91 MB / 0.5451 GB (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.1.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